#5F1249#5F1249

#5F1249 is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.9% C 0.125 H 342.2°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#5F1249
RGBrgb(95, 18, 73)
HSLhsl(317, 68%, 22%)
HSVhsv(317, 81%, 37%)
CMYKcmyk(0%, 81.1%, 23.2%, 62.7%)
CIE-LABlab(21.38, 39.47, -14.21)
CIE-LCHlch(21.38, 41.95, 340.20°)
OKLaboklab(33.88% 0.1187 -0.0382)
OKLCHoklch(33.88% 0.125 342.2)
XYZxyz(6.1384, 3.3472, 6.6248)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1249 #125F28
analogous
#4F125F #5F1249 #5F1222
triadic
#5F1249 #495F12 #12495F
tetradic
#5F1249 #5F4F12 #125F28 #12225F
square
#5F1249 #5F4F12 #125F28 #12225F
split-complementary
#5F1249 #225F12 #125F4F
monochromatic
#1A0514 #2C0821 #5F1249 #921C71 #C62598

Accessibility & contrast

On white

12.58
#5F1249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5F1249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1249
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1249#FFFFFF#000000##FFFFFF
##5F12491.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2B4A
Deuteranopia (green-blind)
#323847
Tritanopia (blue-blind)
#65132C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1249;
/* rgb */ color: rgb(95, 18, 73);
/* oklch */ color: oklch(33.9% 0.125 342.2);
Tailwind
colors: {
  custom: {
    50: '#90597c',
    500: '#5f1249',
    950: '#000000',
  },
}
SCSS
$custom: #5f1249;
$custom-light: #90597c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1249",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 73
  },
  "hsl": {
    "h": 317.143,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33882,
    "c": 0.12464,
    "h": 342.2
  },
  "luminance": 0.03347
}

Semantic roles & 50–950 ramp

primary
#5F1249
secondary
#369751
accent
#EB6F3D
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F1249

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

Preview Lab → · Contrast checker → · Palette generator →

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