#5F142C#5F142C

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

Color values

HEX#5F142C
RGBrgb(95, 20, 44)
HSLhsl(341, 65%, 23%)
HSVhsv(341, 79%, 37%)
CMYKcmyk(0%, 78.9%, 53.7%, 62.7%)
CIE-LABlab(20.50, 35.17, 4.63)
CIE-LCHlch(20.50, 35.47, 7.49°)
OKLaboklab(32.86% 0.1073 0.0121)
OKLCHoklch(32.86% 0.108 6.4)
XYZxyz(5.4246, 3.1158, 2.6981)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F142C #145F47
analogous
#5F1451 #5F142C #5F2214
triadic
#5F142C #2C5F14 #142C5F
tetradic
#5F142C #515F14 #145F47 #22145F
square
#5F142C #515F14 #145F47 #22145F
split-complementary
#5F142C #145F22 #14515F
monochromatic
#19050C #2C0915 #5F142C #921F43 #C4295B

Accessibility & contrast

On white

12.94
#5F142C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F142C
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F142C#FFFFFF#000000##FFFFFF
##5F142C1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26282D
Deuteranopia (green-blind)
#3A372A
Tritanopia (blue-blind)
#68041E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f142c;
/* rgb */ color: rgb(95, 20, 44);
/* oklch */ color: oklch(32.9% 0.108 6.4);
Tailwind
colors: {
  custom: {
    50: '#915964',
    500: '#5f142c',
    950: '#000000',
  },
}
SCSS
$custom: #5f142c;
$custom-light: #915964;
$custom-dark: #000000;
JSON
{
  "hex": "#5f142c",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 44
  },
  "hsl": {
    "h": 340.8,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32864,
    "c": 0.108,
    "h": 6.4
  },
  "luminance": 0.03115
}

Semantic roles & 50–950 ramp

primary
#5F142C
secondary
#389778
accent
#E8B240
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5F142C

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

Preview Lab → · Contrast checker → · Palette generator →

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