#62171F#62171F

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

Color values

HEX#62171F
RGBrgb(98, 23, 31)
HSLhsl(354, 62%, 24%)
HSVhsv(354, 77%, 38%)
CMYKcmyk(0%, 76.5%, 68.4%, 61.6%)
CIE-LABlab(21.24, 33.93, 14.81)
CIE-LCHlch(21.24, 37.03, 23.58°)
OKLaboklab(33.42% 0.1007 0.0354)
OKLCHoklch(33.42% 0.107 19.4)
XYZxyz(5.5913, 3.3092, 1.6404)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62171F #17625A
analogous
#621744 #62171F #623417
triadic
#62171F #1F6217 #171F62
tetradic
#62171F #446217 #17625A #341762
square
#62171F #446217 #17625A #341762
split-complementary
#62171F #176234 #174462
monochromatic
#190608 #300B0F #62171F #94232F #C52E3E

Accessibility & contrast

On white

12.64
#62171F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62171F
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62171F#FFFFFF#000000##FFFFFF
##62171F1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C291F
Deuteranopia (green-blind)
#3F391D
Tritanopia (blue-blind)
#6C011B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #62171f;
/* rgb */ color: rgb(98, 23, 31);
/* oklch */ color: oklch(33.4% 0.107 19.4);
Tailwind
colors: {
  custom: {
    50: '#945a5a',
    500: '#62171f',
    950: '#000000',
  },
}
SCSS
$custom: #62171f;
$custom-light: #945a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#62171f",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 31
  },
  "hsl": {
    "h": 353.6,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33424,
    "c": 0.10672,
    "h": 19.4
  },
  "luminance": 0.03308
}

Semantic roles & 50–950 ramp

primary
#62171F
secondary
#3C998F
accent
#E5D443
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #62171F

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

Preview Lab → · Contrast checker → · Palette generator →

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