#62151F#62151F

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

Color values

HEX#62151F
RGBrgb(98, 21, 31)
HSLhsl(352, 65%, 23%)
HSVhsv(352, 79%, 38%)
CMYKcmyk(0%, 78.6%, 68.4%, 61.6%)
CIE-LABlab(20.95, 34.73, 14.44)
CIE-LCHlch(20.95, 37.62, 22.58°)
OKLaboklab(33.21% 0.1032 0.0346)
OKLCHoklch(33.21% 0.109 18.5)
XYZxyz(5.5531, 3.2328, 1.6276)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62151F #156258
analogous
#621545 #62151F #623115
triadic
#62151F #1F6215 #151F62
tetradic
#62151F #456215 #156258 #311562
square
#62151F #456215 #156258 #311562
split-complementary
#62151F #156231 #154562
monochromatic
#190508 #300A0F #62151F #94202F #C72B3F

Accessibility & contrast

On white

12.76
#62151F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62151F
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62151F#FFFFFF#000000##FFFFFF
##62151F1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B281F
Deuteranopia (green-blind)
#3E381D
Tritanopia (blue-blind)
#6C0019
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #62151f;
/* rgb */ color: rgb(98, 21, 31);
/* oklch */ color: oklch(33.2% 0.109 18.5);
Tailwind
colors: {
  custom: {
    50: '#94595a',
    500: '#62151f',
    950: '#000000',
  },
}
SCSS
$custom: #62151f;
$custom-light: #94595a;
$custom-dark: #000000;
JSON
{
  "hex": "#62151f",
  "rgb": {
    "r": 98,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 352.208,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33209,
    "c": 0.10887,
    "h": 18.5
  },
  "luminance": 0.03232
}

Semantic roles & 50–950 ramp

primary
#62151F
secondary
#3A998D
accent
#E8D240
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #62151F

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

Preview Lab → · Contrast checker → · Palette generator →

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