#640F21

A color in the Red, Pink family

#640f21 is a color in the Red, Pink family: RGB(100, 15, 33), HSL(347°, 74%, 23%), CMYK(0%, 85%, 67%, 61%). Closest named color: maroon. Contrast is 12.87:1 on white and 1.63:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#640f21
RGBrgb(100 15 33)
RGB (legacy)rgb(100, 15, 33)
RGB %rgb(39% 6% 13%)
HSLhsl(347 74% 23%)
HSV / HSBhsv(347, 85%, 39%)
HWBhwb(347 6% 61%)
CMYKcmyk(0%, 85%, 67%, 61%)
CIELAB (D50)lab(21.09 37.78 13.69)
LCHlch(21.09 40.19 19.92)
OKLaboklab(0.331 0.1127 0.0309)
OKLCHoklch(0.331 0.1168 15.35)
Decimal6557473

Properties

Color ToneRed, Pink
Closest named colormaroon ΔE 6.8
Closest web-safe color#660033
Hue347°
Saturation (HSL / HSV)74% / 85%
Lightness (HSL)23%
Brightness or Value (HSV)39%
Luminance (Rec.601 / Rec.709)17% / 13%
Relative luminance (WCAG)0.0316
Red / Green / Blue100 / 15 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
12.87:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.63: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.8 / 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: #640f21;
  --color-brand-oklch: oklch(33.1% 0.1168 15.35);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(100 15 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#640f21] text-[#640f21] border-[#640f21]">