#5F142B#5F142B

#5F142B is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.108 H 7.3°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#5F142B
RGBrgb(95, 20, 43)
HSLhsl(342, 65%, 23%)
HSVhsv(342, 79%, 37%)
CMYKcmyk(0%, 78.9%, 54.7%, 62.7%)
CIE-LABlab(20.47, 35.08, 5.29)
CIE-LCHlch(20.47, 35.47, 8.58°)
OKLaboklab(32.83% 0.1069 0.0137)
OKLCHoklch(32.83% 0.108 7.3)
XYZxyz(5.4060, 3.1084, 2.6003)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F142B #145F48
analogous
#5F1450 #5F142B #5F2314
triadic
#5F142B #2B5F14 #142B5F
tetradic
#5F142B #505F14 #145F48 #23145F
square
#5F142B #505F14 #145F48 #23145F
split-complementary
#5F142B #145F23 #14505F
monochromatic
#19050B #2C0914 #5F142B #921F42 #C42959

Accessibility & contrast

On white

12.95
#5F142B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5F142B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F142B
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F142B#FFFFFF#000000##FFFFFF
##5F142B1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27282B
Deuteranopia (green-blind)
#3A3729
Tritanopia (blue-blind)
#68041E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f142b;
/* rgb */ color: rgb(95, 20, 43);
/* oklch */ color: oklch(32.8% 0.108 7.3);
Tailwind
colors: {
  custom: {
    50: '#915964',
    500: '#5f142b',
    950: '#000000',
  },
}
SCSS
$custom: #5f142b;
$custom-light: #915964;
$custom-dark: #000000;
JSON
{
  "hex": "#5f142b",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 43
  },
  "hsl": {
    "h": 341.6,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32833,
    "c": 0.10777,
    "h": 7.3
  },
  "luminance": 0.03108
}

Semantic roles & 50–950 ramp

primary
#5F142B
secondary
#38977A
accent
#E8B440
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5F142B

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

Preview Lab → · Contrast checker → · Palette generator →

#5F142B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva