#62151B#62151B

#62151B is a dark, moderate red. Relative luminance 0.032; OKLCH L 33.1% C 0.109 H 21.5°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#62151B
RGBrgb(98, 21, 27)
HSLhsl(355, 65%, 23%)
HSVhsv(355, 79%, 38%)
CMYKcmyk(0%, 78.6%, 72.4%, 61.6%)
CIE-LABlab(20.88, 34.48, 17.10)
CIE-LCHlch(20.88, 38.49, 26.37°)
OKLaboklab(33.13% 0.1015 0.04)
OKLCHoklch(33.13% 0.109 21.5)
XYZxyz(5.5036, 3.2130, 1.3671)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62151B #15625C
analogous
#621541 #62151B #623515
triadic
#62151B #1B6215 #151B62
tetradic
#62151B #416215 #15625C #351562
square
#62151B #416215 #15625C #351562
split-complementary
#62151B #156235 #154162
monochromatic
#190507 #300A0D #62151B #942029 #C72B37

Accessibility & contrast

On white

12.79
#62151B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#62151B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62151B
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62151B#FFFFFF#000000##FFFFFF
##62151B1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B281B
Deuteranopia (green-blind)
#3E3819
Tritanopia (blue-blind)
#6C0018
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #62151b;
/* rgb */ color: rgb(98, 21, 27);
/* oklch */ color: oklch(33.1% 0.109 21.5);
Tailwind
colors: {
  custom: {
    50: '#955957',
    500: '#62151b',
    950: '#000000',
  },
}
SCSS
$custom: #62151b;
$custom-light: #955957;
$custom-dark: #000000;
JSON
{
  "hex": "#62151b",
  "rgb": {
    "r": 98,
    "g": 21,
    "b": 27
  },
  "hsl": {
    "h": 355.325,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33129,
    "c": 0.10909,
    "h": 21.5
  },
  "luminance": 0.03212
}

Semantic roles & 50–950 ramp

primary
#62151B
secondary
#3A9992
accent
#E8DB40
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #62151B

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

Preview Lab → · Contrast checker → · Palette generator →

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