#5F144B#5F144B

#5F144B is a dark, vivid pink. Relative luminance 0.034; OKLCH L 34.2% C 0.124 H 340.9°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#5F144B
RGBrgb(95, 20, 75)
HSLhsl(316, 65%, 23%)
HSVhsv(316, 79%, 37%)
CMYKcmyk(0%, 78.9%, 21.1%, 62.7%)
CIE-LABlab(21.73, 39.06, -15.03)
CIE-LCHlch(21.73, 41.85, 338.95°)
OKLaboklab(34.17% 0.1169 -0.0405)
OKLCHoklch(34.17% 0.124 340.9)
XYZxyz(6.2397, 3.4418, 6.9910)
Luminance0.0344 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F144B #145F28
analogous
#4D145F #5F144B #5F1426
triadic
#5F144B #4B5F14 #144B5F
tetradic
#5F144B #5F4D14 #145F28 #14265F
square
#5F144B #5F4D14 #145F28 #14265F
split-complementary
#5F144B #265F14 #145F4D
monochromatic
#190514 #2C0923 #5F144B #921F73 #C4299B

Accessibility & contrast

On white

12.44
#5F144B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5F144B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F144B
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F144B#FFFFFF#000000##FFFFFF
##5F144B1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2C4C
Deuteranopia (green-blind)
#323849
Tritanopia (blue-blind)
#65162D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f144b;
/* rgb */ color: rgb(95, 20, 75);
/* oklch */ color: oklch(34.2% 0.124 340.9);
Tailwind
colors: {
  custom: {
    50: '#8f5a7d',
    500: '#5f144b',
    950: '#000000',
  },
}
SCSS
$custom: #5f144b;
$custom-light: #8f5a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f144b",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 75
  },
  "hsl": {
    "h": 316,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34167,
    "c": 0.12366,
    "h": 340.9
  },
  "luminance": 0.03441
}

Semantic roles & 50–950 ramp

primary
#5F144B
secondary
#389751
accent
#E86D40
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F144B

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

Preview Lab → · Contrast checker → · Palette generator →

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