#62171B#62171B

#62171B is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.3% C 0.107 H 22.4°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#62171B
RGBrgb(98, 23, 27)
HSLhsl(357, 62%, 24%)
HSVhsv(357, 77%, 38%)
CMYKcmyk(0%, 76.5%, 72.4%, 61.6%)
CIE-LABlab(21.17, 33.68, 17.45)
CIE-LCHlch(21.17, 37.93, 27.40°)
OKLaboklab(33.35% 0.0989 0.0408)
OKLCHoklch(33.35% 0.107 22.4)
XYZxyz(5.5418, 3.2894, 1.3798)
Luminance0.0329 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62171B #17625E
analogous
#621740 #62171B #623817
triadic
#62171B #1B6217 #171B62
tetradic
#62171B #406217 #17625E #381762
square
#62171B #406217 #17625E #381762
split-complementary
#62171B #176238 #174062
monochromatic
#190607 #300B0D #62171B #942329 #C52E36

Accessibility & contrast

On white

12.67
#62171B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#62171B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62171B
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62171B#FFFFFF#000000##FFFFFF
##62171B1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C291B
Deuteranopia (green-blind)
#3F3919
Tritanopia (blue-blind)
#6C0019
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #62171b;
/* rgb */ color: rgb(98, 23, 27);
/* oklch */ color: oklch(33.3% 0.107 22.4);
Tailwind
colors: {
  custom: {
    50: '#955a57',
    500: '#62171b',
    950: '#000000',
  },
}
SCSS
$custom: #62171b;
$custom-light: #955a57;
$custom-dark: #000000;
JSON
{
  "hex": "#62171b",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 356.8,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33345,
    "c": 0.10701,
    "h": 22.4
  },
  "luminance": 0.03289
}

Semantic roles & 50–950 ramp

primary
#62171B
secondary
#3C9994
accent
#E5DC43
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #62171B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#62171B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva