#5F0E50#5F0E50

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

Color values

HEX#5F0E50
RGBrgb(95, 14, 80)
HSLhsl(311, 74%, 21%)
HSVhsv(311, 85%, 37%)
CMYKcmyk(0%, 85.3%, 15.8%, 62.7%)
CIE-LABlab(21.31, 41.80, -19.08)
CIE-LCHlch(21.31, 45.95, 335.46°)
OKLaboklab(33.95% 0.1235 -0.052)
OKLCHoklch(33.95% 0.134 337.2)
XYZxyz(6.3245, 3.3268, 7.8969)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0E50 #0E5F1D
analogous
#460E5F #5F0E50 #5F0E28
triadic
#5F0E50 #505F0E #0E505F
tetradic
#5F0E50 #5F460E #0E5F1D #0E285F
square
#5F0E50 #5F460E #0E5F1D #0E285F
split-complementary
#5F0E50 #285F0E #0E5F46
monochromatic
#1B0416 #2A0623 #5F0E50 #94167D #CA1EAA

Accessibility & contrast

On white

12.61
#5F0E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0E50
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0E50#FFFFFF#000000##FFFFFF
##5F0E501.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112B52
Deuteranopia (green-blind)
#2E374E
Tritanopia (blue-blind)
#65142F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f0e50;
/* rgb */ color: rgb(95, 14, 80);
/* oklch */ color: oklch(33.9% 0.134 337.2);
Tailwind
colors: {
  custom: {
    50: '#905881',
    500: '#5f0e50',
    950: '#000000',
  },
}
SCSS
$custom: #5f0e50;
$custom-light: #905881;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0e50",
  "rgb": {
    "r": 95,
    "g": 14,
    "b": 80
  },
  "hsl": {
    "h": 311.111,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33946,
    "c": 0.13394,
    "h": 337.2
  },
  "luminance": 0.03326
}

Semantic roles & 50–950 ramp

primary
#5F0E50
secondary
#309944
accent
#F15937
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F0E50

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

Preview Lab → · Contrast checker → · Palette generator →

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