#5F0D51#5F0D51

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

Color values

HEX#5F0D51
RGBrgb(95, 13, 81)
HSLhsl(310, 76%, 21%)
HSVhsv(310, 86%, 37%)
CMYKcmyk(0%, 86.3%, 14.7%, 62.7%)
CIE-LABlab(21.27, 42.24, -19.82)
CIE-LCHlch(21.27, 46.66, 334.86°)
OKLaboklab(33.93% 0.1244 -0.0541)
OKLCHoklch(33.93% 0.136 336.5)
XYZxyz(6.3486, 3.3154, 8.0886)
Luminance0.0331 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0D51 #0D5F1B
analogous
#440D5F #5F0D51 #5F0D28
triadic
#5F0D51 #515F0D #0D515F
tetradic
#5F0D51 #5F440D #0D5F1B #0D285F
square
#5F0D51 #5F440D #0D5F1B #0D285F
split-complementary
#5F0D51 #285F0D #0D5F44
monochromatic
#1B0417 #290623 #5F0D51 #95147F #CB1CAD

Accessibility & contrast

On white

12.63
#5F0D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0D51
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0D51#FFFFFF#000000##FFFFFF
##5F0D511.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2B53
Deuteranopia (green-blind)
#2D374F
Tritanopia (blue-blind)
#64142F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f0d51;
/* rgb */ color: rgb(95, 13, 81);
/* oklch */ color: oklch(33.9% 0.136 336.5);
Tailwind
colors: {
  custom: {
    50: '#905882',
    500: '#5f0d51',
    950: '#000000',
  },
}
SCSS
$custom: #5f0d51;
$custom-light: #905882;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0d51",
  "rgb": {
    "r": 95,
    "g": 13,
    "b": 81
  },
  "hsl": {
    "h": 310.244,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33933,
    "c": 0.13563,
    "h": 336.5
  },
  "luminance": 0.03315
}

Semantic roles & 50–950 ramp

primary
#5F0D51
secondary
#2F9941
accent
#F35635
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F0D51

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

Preview Lab → · Contrast checker → · Palette generator →

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