#640C21

A color in the Red, Pink family

#640c21 is a color in the Red, Pink family: RGB(100, 12, 33), HSL(346°, 79%, 22%), CMYK(0%, 88%, 67%, 61%). Closest named color: maroon. Contrast is 12.99:1 on white and 1.62:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#640c21
RGBrgb(100 12 33)
RGB (legacy)rgb(100, 12, 33)
RGB %rgb(39% 5% 13%)
HSLhsl(346 79% 22%)
HSV / HSBhsv(346, 88%, 39%)
HWBhwb(346 5% 61%)
CMYKcmyk(0%, 88%, 67%, 61%)
CIELAB (D50)lab(20.79 38.61 13.31)
LCHlch(20.79 40.84 19.02)
OKLaboklab(0.3287 0.1155 0.03)
OKLCHoklch(0.3287 0.1193 14.56)
Decimal6556705

Properties

Color ToneRed, Pink
Closest named colormaroon ΔE 6.9
Closest web-safe color#660033
Hue346°
Saturation (HSL / HSV)79% / 88%
Lightness (HSL)22%
Brightness or Value (HSV)39%
Luminance (Rec.601 / Rec.709)16% / 13%
Relative luminance (WCAG)0.0308
Red / Green / Blue100 / 12 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
12.99:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.62:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 97.9 / 0 · As background with white / black text: Lc -101.3 / 0

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #640c21;
  --color-brand-oklch: oklch(32.87% 0.1193 14.56);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(100 12 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#640c21] text-[#640c21] border-[#640c21]">