#62170F#62170F

#62170F is a dark, moderate red. Relative luminance 0.032; OKLCH L 33.2% C 0.109 H 29.9°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#62170F
RGBrgb(98, 23, 15)
HSLhsl(6, 73%, 22%)
HSVhsv(6, 85%, 38%)
CMYKcmyk(0%, 76.5%, 84.7%, 61.6%)
CIE-LABlab(21.00, 33.10, 24.87)
CIE-LCHlch(21.00, 41.40, 36.93°)
OKLaboklab(33.17% 0.0943 0.0543)
OKLCHoklch(33.17% 0.109 29.9)
XYZxyz(5.4303, 3.2448, 0.7922)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62170F #0F5A62
analogous
#620F31 #62170F #62410F
triadic
#62170F #0F6217 #170F62
tetradic
#62170F #31620F #0F5A62 #410F62
square
#62170F #31620F #0F5A62 #410F62
split-complementary
#62170F #0F6241 #0F3162
monochromatic
#1B0604 #2D0B07 #62170F #972317 #CC301F

Accessibility & contrast

On white

12.74
#62170F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#62170F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62170F
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62170F#FFFFFF#000000##FFFFFF
##62170F1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D280D
Deuteranopia (green-blind)
#40380C
Tritanopia (blue-blind)
#6D0016
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #62170f;
/* rgb */ color: rgb(98, 23, 15);
/* oklch */ color: oklch(33.2% 0.109 29.9);
Tailwind
colors: {
  custom: {
    50: '#965a4e',
    500: '#62170f',
    950: '#000000',
  },
}
SCSS
$custom: #62170f;
$custom-light: #965a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#62170f",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 15
  },
  "hsl": {
    "h": 5.783,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33165,
    "c": 0.1088,
    "h": 29.9
  },
  "luminance": 0.03244
}

Semantic roles & 50–950 ramp

primary
#62170F
secondary
#32919B
accent
#DEF038
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0F0401
muted
#7E7977

Preview Lab

Preview with #62170F

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

Preview Lab → · Contrast checker → · Palette generator →

#62170F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva