#5F1049#5F1049

#5F1049 is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.7% C 0.127 H 342.0°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#5F1049
RGBrgb(95, 16, 73)
HSLhsl(317, 71%, 22%)
HSVhsv(317, 83%, 37%)
CMYKcmyk(0%, 83.2%, 23.2%, 62.7%)
CIE-LABlab(21.15, 40.13, -14.57)
CIE-LCHlch(21.15, 42.69, 340.05°)
OKLaboklab(33.71% 0.1207 -0.0391)
OKLCHoklch(33.71% 0.127 342)
XYZxyz(6.1074, 3.2852, 6.6145)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1049 #105F26
analogous
#4E105F #5F1049 #5F1022
triadic
#5F1049 #495F10 #10495F
tetradic
#5F1049 #5F4E10 #105F26 #10225F
square
#5F1049 #5F4E10 #105F26 #10225F
split-complementary
#5F1049 #225F10 #105F4E
monochromatic
#1A0414 #2B0721 #5F1049 #931971 #C82299

Accessibility & contrast

On white

12.67
#5F1049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5F1049 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1049
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1049#FFFFFF#000000##FFFFFF
##5F10491.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182B4A
Deuteranopia (green-blind)
#323747
Tritanopia (blue-blind)
#65112B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1049;
/* rgb */ color: rgb(95, 16, 73);
/* oklch */ color: oklch(33.7% 0.127 342.0);
Tailwind
colors: {
  custom: {
    50: '#90587c',
    500: '#5f1049',
    950: '#000000',
  },
}
SCSS
$custom: #5f1049;
$custom-light: #90587c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1049",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 73
  },
  "hsl": {
    "h": 316.709,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33713,
    "c": 0.12689,
    "h": 342
  },
  "luminance": 0.03285
}

Semantic roles & 50–950 ramp

primary
#5F1049
secondary
#33984F
accent
#EE6C3A
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F1049

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

Preview Lab → · Contrast checker → · Palette generator →

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