#5F144C#5F144C

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

Color values

HEX#5F144C
RGBrgb(95, 20, 76)
HSLhsl(315, 65%, 23%)
HSVhsv(315, 79%, 37%)
CMYKcmyk(0%, 78.9%, 20%, 62.7%)
CIE-LABlab(21.78, 39.22, -15.63)
CIE-LCHlch(21.78, 42.22, 338.27°)
OKLaboklab(34.22% 0.117 -0.0422)
OKLCHoklch(34.22% 0.124 340.2)
XYZxyz(6.2742, 3.4556, 7.1727)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F144C #145F27
analogous
#4C145F #5F144C #5F1427
triadic
#5F144C #4C5F14 #144C5F
tetradic
#5F144C #5F4C14 #145F27 #14275F
square
#5F144C #5F4C14 #145F27 #14275F
split-complementary
#5F144C #275F14 #145F4C
monochromatic
#190514 #2C0924 #5F144C #921F74 #C4299D

Accessibility & contrast

On white

12.42
#5F144C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F144C
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F144C#FFFFFF#000000##FFFFFF
##5F144C1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192D4E
Deuteranopia (green-blind)
#32384A
Tritanopia (blue-blind)
#65162E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f144c;
/* rgb */ color: rgb(95, 20, 76);
/* oklch */ color: oklch(34.2% 0.124 340.2);
Tailwind
colors: {
  custom: {
    50: '#8f5a7e',
    500: '#5f144c',
    950: '#000000',
  },
}
SCSS
$custom: #5f144c;
$custom-light: #8f5a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f144c",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 76
  },
  "hsl": {
    "h": 315.2,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3422,
    "c": 0.12438,
    "h": 340.2
  },
  "luminance": 0.03455
}

Semantic roles & 50–950 ramp

primary
#5F144C
secondary
#389750
accent
#E86A40
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F144C

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

Preview Lab → · Contrast checker → · Palette generator →

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