#5F144F#5F144F

#5F144F is a dark, vivid pink. Relative luminance 0.035; OKLCH L 34.4% C 0.127 H 338.1°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#5F144F
RGBrgb(95, 20, 79)
HSLhsl(313, 65%, 23%)
HSVhsv(313, 79%, 37%)
CMYKcmyk(0%, 78.9%, 16.8%, 62.7%)
CIE-LABlab(21.94, 39.69, -17.42)
CIE-LCHlch(21.94, 43.34, 336.30°)
OKLaboklab(34.38% 0.1175 -0.0473)
OKLCHoklch(34.38% 0.127 338.1)
XYZxyz(6.3809, 3.4983, 7.7348)
Luminance0.0350 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F144F #145F24
analogous
#49145F #5F144F #5F142A
triadic
#5F144F #4F5F14 #144F5F
tetradic
#5F144F #5F4914 #145F24 #142A5F
square
#5F144F #5F4914 #145F24 #142A5F
split-complementary
#5F144F #2A5F14 #145F49
monochromatic
#190515 #2C0925 #5F144F #921F79 #C429A3

Accessibility & contrast

On white

12.36
#5F144F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5F144F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F144F
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F144F#FFFFFF#000000##FFFFFF
##5F144F1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172D51
Deuteranopia (green-blind)
#31394D
Tritanopia (blue-blind)
#651830
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f144f;
/* rgb */ color: rgb(95, 20, 79);
/* oklch */ color: oklch(34.4% 0.127 338.1);
Tailwind
colors: {
  custom: {
    50: '#8f5a80',
    500: '#5f144f',
    950: '#000000',
  },
}
SCSS
$custom: #5f144f;
$custom-light: #8f5a80;
$custom-dark: #000000;
JSON
{
  "hex": "#5f144f",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 79
  },
  "hsl": {
    "h": 312.8,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34382,
    "c": 0.12661,
    "h": 338.1
  },
  "luminance": 0.03498
}

Semantic roles & 50–950 ramp

primary
#5F144F
secondary
#38974C
accent
#E86440
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F144F

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

Preview Lab → · Contrast checker → · Palette generator →

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