#62131F#62131F

#62131F is a dark, moderate red. Relative luminance 0.032; OKLCH L 33.0% C 0.111 H 17.7°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#62131F
RGBrgb(98, 19, 31)
HSLhsl(351, 68%, 23%)
HSVhsv(351, 81%, 38%)
CMYKcmyk(0%, 80.6%, 68.4%, 61.6%)
CIE-LABlab(20.68, 35.49, 14.10)
CIE-LCHlch(20.68, 38.19, 21.66°)
OKLaboklab(33.01% 0.1057 0.0338)
OKLCHoklch(33.01% 0.111 17.7)
XYZxyz(5.5178, 3.1622, 1.6159)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62131F #136256
analogous
#621346 #62131F #622E13
triadic
#62131F #1F6213 #131F62
tetradic
#62131F #466213 #136256 #2E1362
square
#62131F #466213 #136256 #2E1362
split-complementary
#62131F #13622E #134662
monochromatic
#1A0508 #2F090F #62131F #951D2F #C9273F

Accessibility & contrast

On white

12.87
#62131F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#62131F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62131F
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62131F#FFFFFF#000000##FFFFFF
##62131F1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29271F
Deuteranopia (green-blind)
#3D381D
Tritanopia (blue-blind)
#6C0018
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #62131f;
/* rgb */ color: rgb(98, 19, 31);
/* oklch */ color: oklch(33.0% 0.111 17.7);
Tailwind
colors: {
  custom: {
    50: '#95595a',
    500: '#62131f',
    950: '#000000',
  },
}
SCSS
$custom: #62131f;
$custom-light: #95595a;
$custom-dark: #000000;
JSON
{
  "hex": "#62131f",
  "rgb": {
    "r": 98,
    "g": 19,
    "b": 31
  },
  "hsl": {
    "h": 350.886,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33008,
    "c": 0.11092,
    "h": 17.7
  },
  "luminance": 0.03161
}

Semantic roles & 50–950 ramp

primary
#62131F
secondary
#379A8B
accent
#EAD03D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #62131F

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

Preview Lab → · Contrast checker → · Palette generator →

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