#5F0F51#5F0F51

#5F0F51 is a dark, vivid pink. Relative luminance 0.034; OKLCH L 34.1% C 0.134 H 336.6°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#5F0F51
RGBrgb(95, 15, 81)
HSLhsl(311, 73%, 22%)
HSVhsv(311, 84%, 37%)
CMYKcmyk(0%, 84.2%, 14.7%, 62.7%)
CIE-LABlab(21.47, 41.67, -19.51)
CIE-LCHlch(21.47, 46.01, 334.91°)
OKLaboklab(34.08% 0.1227 -0.0532)
OKLCHoklch(34.08% 0.134 336.6)
XYZxyz(6.3755, 3.3692, 8.0975)
Luminance0.0337 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F51 #0F5F1D
analogous
#450F5F #5F0F51 #5F0F29
triadic
#5F0F51 #515F0F #0F515F
tetradic
#5F0F51 #5F450F #0F5F1D #0F295F
square
#5F0F51 #5F450F #0F5F1D #0F295F
split-complementary
#5F0F51 #295F0F #0F5F45
monochromatic
#1A0417 #2A0724 #5F0F51 #94177E #C920AB

Accessibility & contrast

On white

12.55
#5F0F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0F51
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F51#FFFFFF#000000##FFFFFF
##5F0F511.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112C53
Deuteranopia (green-blind)
#2E384F
Tritanopia (blue-blind)
#64152F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f0f51;
/* rgb */ color: rgb(95, 15, 81);
/* oklch */ color: oklch(34.1% 0.134 336.6);
Tailwind
colors: {
  custom: {
    50: '#905982',
    500: '#5f0f51',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f51;
$custom-light: #905982;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f51",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 81
  },
  "hsl": {
    "h": 310.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34077,
    "c": 0.13369,
    "h": 336.6
  },
  "luminance": 0.03369
}

Semantic roles & 50–950 ramp

primary
#5F0F51
secondary
#329844
accent
#EF5838
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F0F51

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

Preview Lab → · Contrast checker → · Palette generator →

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