#640A21

A color in the Red, Pink family

#640a21 is a color in the Red, Pink family: RGB(100, 10, 33), HSL(345°, 82%, 22%), CMYK(0%, 90%, 67%, 61%). Closest named color: maroon. Contrast is 13.07:1 on white and 1.61:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#640a21
RGBrgb(100 10 33)
RGB (legacy)rgb(100, 10, 33)
RGB %rgb(39% 4% 13%)
HSLhsl(345 82% 22%)
HSV / HSBhsv(345, 90%, 39%)
HWBhwb(345 4% 61%)
CMYKcmyk(0%, 90%, 67%, 61%)
CIELAB (D50)lab(20.62 39.1 13.08)
LCHlch(20.62 41.23 18.5)
OKLaboklab(0.3274 0.1171 0.0294)
OKLCHoklch(0.3274 0.1208 14.11)
Decimal6556193

Properties

Color ToneRed, Pink
Closest named colormaroon ΔE 7
Closest web-safe color#660033
Hue345°
Saturation (HSL / HSV)82% / 90%
Lightness (HSL)22%
Brightness or Value (HSV)39%
Luminance (Rec.601 / Rec.709)16% / 12%
Relative luminance (WCAG)0.0304
Red / Green / Blue100 / 10 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
13.07:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.61: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.4 / 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: #640a21;
  --color-brand-oklch: oklch(32.74% 0.1208 14.11);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(100 10 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#640a21] text-[#640a21] border-[#640a21]">