#62181F#62181F

#62181F is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.5% C 0.106 H 19.9°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#62181F
RGBrgb(98, 24, 31)
HSLhsl(354, 61%, 24%)
HSVhsv(354, 76%, 38%)
CMYKcmyk(0%, 75.5%, 68.4%, 61.6%)
CIE-LABlab(21.39, 33.52, 15.01)
CIE-LCHlch(21.39, 36.72, 24.12°)
OKLaboklab(33.54% 0.0993 0.0359)
OKLCHoklch(33.54% 0.106 19.9)
XYZxyz(5.6115, 3.3497, 1.6471)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62181F #18625B
analogous
#621844 #62181F #623618
triadic
#62181F #1F6218 #181F62
tetradic
#62181F #446218 #18625B #361862
square
#62181F #446218 #18625B #361862
split-complementary
#62181F #186236 #184462
monochromatic
#190608 #310C0F #62181F #93242F #C4303E

Accessibility & contrast

On white

12.58
#62181F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#62181F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62181F
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62181F#FFFFFF#000000##FFFFFF
##62181F1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62181f;
/* rgb */ color: rgb(98, 24, 31);
/* oklch */ color: oklch(33.5% 0.106 19.9);
Tailwind
colors: {
  custom: {
    50: '#945b5a',
    500: '#62181f',
    950: '#000000',
  },
}
SCSS
$custom: #62181f;
$custom-light: #945b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#62181f",
  "rgb": {
    "r": 98,
    "g": 24,
    "b": 31
  },
  "hsl": {
    "h": 354.324,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33537,
    "c": 0.1056,
    "h": 19.9
  },
  "luminance": 0.03349
}

Semantic roles & 50–950 ramp

primary
#62181F
secondary
#3E9890
accent
#E4D544
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #62181F

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

Preview Lab → · Contrast checker → · Palette generator →

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