#5F0E4E#5F0E4E

#5F0E4E is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.8% C 0.132 H 338.5°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#5F0E4E
RGBrgb(95, 14, 78)
HSLhsl(313, 74%, 21%)
HSVhsv(313, 85%, 37%)
CMYKcmyk(0%, 85.3%, 17.9%, 62.7%)
CIE-LABlab(21.20, 41.49, -17.90)
CIE-LCHlch(21.20, 45.19, 336.67°)
OKLaboklab(33.83% 0.1233 -0.0486)
OKLCHoklch(33.83% 0.132 338.5)
XYZxyz(6.2517, 3.2977, 7.5135)
Luminance0.0330 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0E4E #0E5F1F
analogous
#480E5F #5F0E4E #5F0E26
triadic
#5F0E4E #4E5F0E #0E4E5F
tetradic
#5F0E4E #5F480E #0E5F1F #0E265F
square
#5F0E4E #5F480E #0E5F1F #0E265F
split-complementary
#5F0E4E #265F0E #0E5F48
monochromatic
#1B0416 #2A0622 #5F0E4E #94167A #CA1EA6

Accessibility & contrast

On white

12.66
#5F0E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0E4E
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0E4E#FFFFFF#000000##FFFFFF
##5F0E4E1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132B50
Deuteranopia (green-blind)
#2F374C
Tritanopia (blue-blind)
#65132D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f0e4e;
/* rgb */ color: rgb(95, 14, 78);
/* oklch */ color: oklch(33.8% 0.132 338.5);
Tailwind
colors: {
  custom: {
    50: '#90587f',
    500: '#5f0e4e',
    950: '#000000',
  },
}
SCSS
$custom: #5f0e4e;
$custom-light: #90587f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0e4e",
  "rgb": {
    "r": 95,
    "g": 14,
    "b": 78
  },
  "hsl": {
    "h": 312.593,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33832,
    "c": 0.13248,
    "h": 338.5
  },
  "luminance": 0.03297
}

Semantic roles & 50–950 ramp

primary
#5F0E4E
secondary
#309946
accent
#F15E37
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F0E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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