#5F0D50#5F0D50

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

Color values

HEX#5F0D50
RGBrgb(95, 13, 80)
HSLhsl(311, 76%, 21%)
HSVhsv(311, 86%, 37%)
CMYKcmyk(0%, 86.3%, 15.8%, 62.7%)
CIE-LABlab(21.21, 42.09, -19.24)
CIE-LCHlch(21.21, 46.27, 335.44°)
OKLaboklab(33.88% 0.1243 -0.0524)
OKLCHoklch(33.88% 0.135 337.1)
XYZxyz(6.3113, 3.3005, 7.8925)
Luminance0.0330 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0D50 #0D5F1C
analogous
#450D5F #5F0D50 #5F0D27
triadic
#5F0D50 #505F0D #0D505F
tetradic
#5F0D50 #5F450D #0D5F1C #0D275F
square
#5F0D50 #5F450D #0D5F1C #0D275F
split-complementary
#5F0D50 #275F0D #0D5F45
monochromatic
#1B0417 #290623 #5F0D50 #95147D #CB1CAB

Accessibility & contrast

On white

12.65
#5F0D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0D50
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0D50#FFFFFF#000000##FFFFFF
##5F0D501.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102B52
Deuteranopia (green-blind)
#2E374E
Tritanopia (blue-blind)
#65132E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f0d50;
/* rgb */ color: rgb(95, 13, 80);
/* oklch */ color: oklch(33.9% 0.135 337.1);
Tailwind
colors: {
  custom: {
    50: '#905881',
    500: '#5f0d50',
    950: '#000000',
  },
}
SCSS
$custom: #5f0d50;
$custom-light: #905881;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0d50",
  "rgb": {
    "r": 95,
    "g": 13,
    "b": 80
  },
  "hsl": {
    "h": 310.976,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33875,
    "c": 0.1349,
    "h": 337.1
  },
  "luminance": 0.033
}

Semantic roles & 50–950 ramp

primary
#5F0D50
secondary
#2F9942
accent
#F35835
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F0D50

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

Preview Lab → · Contrast checker → · Palette generator →

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