#5F142E#5F142E

#5F142E is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.109 H 4.6°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#5F142E
RGBrgb(95, 20, 46)
HSLhsl(339, 65%, 23%)
HSVhsv(339, 79%, 37%)
CMYKcmyk(0%, 78.9%, 51.6%, 62.7%)
CIE-LABlab(20.56, 35.37, 3.30)
CIE-LCHlch(20.56, 35.52, 5.34°)
OKLaboklab(32.93% 0.1082 0.0088)
OKLCHoklch(32.93% 0.109 4.6)
XYZxyz(5.4631, 3.1312, 2.9009)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F142E #145F45
analogous
#5F1453 #5F142E #5F2014
triadic
#5F142E #2E5F14 #142E5F
tetradic
#5F142E #535F14 #145F45 #20145F
square
#5F142E #535F14 #145F45 #20145F
split-complementary
#5F142E #145F20 #14535F
monochromatic
#19050C #2C0916 #5F142E #921F46 #C4295F

Accessibility & contrast

On white

12.92
#5F142E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5F142E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F142E
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F142E#FFFFFF#000000##FFFFFF
##5F142E1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26282F
Deuteranopia (green-blind)
#3A372C
Tritanopia (blue-blind)
#68051F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f142e;
/* rgb */ color: rgb(95, 20, 46);
/* oklch */ color: oklch(32.9% 0.109 4.6);
Tailwind
colors: {
  custom: {
    50: '#915966',
    500: '#5f142e',
    950: '#000000',
  },
}
SCSS
$custom: #5f142e;
$custom-light: #915966;
$custom-dark: #000000;
JSON
{
  "hex": "#5f142e",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 46
  },
  "hsl": {
    "h": 339.2,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32928,
    "c": 0.10851,
    "h": 4.6
  },
  "luminance": 0.0313
}

Semantic roles & 50–950 ramp

primary
#5F142E
secondary
#389776
accent
#E8AE40
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5F142E

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

Preview Lab → · Contrast checker → · Palette generator →

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