#5F142A#5F142A

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

Color values

HEX#5F142A
RGBrgb(95, 20, 42)
HSLhsl(342, 65%, 23%)
HSVhsv(342, 79%, 37%)
CMYKcmyk(0%, 78.9%, 55.8%, 62.7%)
CIE-LABlab(20.44, 34.98, 5.95)
CIE-LCHlch(20.44, 35.49, 9.66°)
OKLaboklab(32.8% 0.1065 0.0153)
OKLCHoklch(32.8% 0.108 8.2)
XYZxyz(5.3879, 3.1011, 2.5049)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F142A #145F49
analogous
#5F144F #5F142A #5F2414
triadic
#5F142A #2A5F14 #142A5F
tetradic
#5F142A #4F5F14 #145F49 #24145F
square
#5F142A #4F5F14 #145F49 #24145F
split-complementary
#5F142A #145F24 #144F5F
monochromatic
#19050B #2C0914 #5F142A #921F40 #C42957

Accessibility & contrast

On white

12.96
#5F142A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F142A
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F142A#FFFFFF#000000##FFFFFF
##5F142A1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27282A
Deuteranopia (green-blind)
#3A3728
Tritanopia (blue-blind)
#68031D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f142a;
/* rgb */ color: rgb(95, 20, 42);
/* oklch */ color: oklch(32.8% 0.108 8.2);
Tailwind
colors: {
  custom: {
    50: '#915963',
    500: '#5f142a',
    950: '#000000',
  },
}
SCSS
$custom: #5f142a;
$custom-light: #915963;
$custom-dark: #000000;
JSON
{
  "hex": "#5f142a",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 42
  },
  "hsl": {
    "h": 342.4,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32803,
    "c": 0.10756,
    "h": 8.2
  },
  "luminance": 0.031
}

Semantic roles & 50–950 ramp

primary
#5F142A
secondary
#38977B
accent
#E8B740
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5F142A

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

Preview Lab → · Contrast checker → · Palette generator →

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