#62171A#62171A

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

Color values

HEX#62171A
RGBrgb(98, 23, 26)
HSLhsl(358, 62%, 24%)
HSVhsv(358, 77%, 38%)
CMYKcmyk(0%, 76.5%, 73.5%, 61.6%)
CIE-LABlab(21.15, 33.62, 18.11)
CIE-LCHlch(21.15, 38.19, 28.31°)
OKLaboklab(33.33% 0.0985 0.0421)
OKLCHoklch(33.33% 0.107 23.1)
XYZxyz(5.5305, 3.2849, 1.3199)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62171A #17625F
analogous
#62173F #62171A #623917
triadic
#62171A #1A6217 #171A62
tetradic
#62171A #3F6217 #17625F #391762
square
#62171A #3F6217 #17625F #391762
split-complementary
#62171A #176239 #173F62
monochromatic
#190607 #300B0D #62171A #942327 #C52E34

Accessibility & contrast

On white

12.68
#62171A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62171A
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62171A#FFFFFF#000000##FFFFFF
##62171A1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62171a;
/* rgb */ color: rgb(98, 23, 26);
/* oklch */ color: oklch(33.3% 0.107 23.1);
Tailwind
colors: {
  custom: {
    50: '#955a56',
    500: '#62171a',
    950: '#000000',
  },
}
SCSS
$custom: #62171a;
$custom-light: #955a56;
$custom-dark: #000000;
JSON
{
  "hex": "#62171a",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 26
  },
  "hsl": {
    "h": 357.6,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33327,
    "c": 0.10711,
    "h": 23.1
  },
  "luminance": 0.03284
}

Semantic roles & 50–950 ramp

primary
#62171A
secondary
#3C9995
accent
#E5DF43
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #62171A

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

Preview Lab → · Contrast checker → · Palette generator →

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