#5F0E4A#5F0E4A

#5F0E4A is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.6% C 0.130 H 341.2°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#5F0E4A
RGBrgb(95, 14, 74)
HSLhsl(316, 74%, 21%)
HSVhsv(316, 85%, 37%)
CMYKcmyk(0%, 85.3%, 22.1%, 62.7%)
CIE-LABlab(20.99, 40.89, -15.50)
CIE-LCHlch(20.99, 43.73, 339.24°)
OKLaboklab(33.61% 0.1227 -0.0418)
OKLCHoklch(33.61% 0.13 341.2)
XYZxyz(6.1126, 3.2420, 6.7811)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0E4A #0E5F23
analogous
#4C0E5F #5F0E4A #5F0E22
triadic
#5F0E4A #4A5F0E #0E4A5F
tetradic
#5F0E4A #5F4C0E #0E5F23 #0E225F
square
#5F0E4A #5F4C0E #0E5F23 #0E225F
split-complementary
#5F0E4A #225F0E #0E5F4C
monochromatic
#1B0415 #2A0620 #5F0E4A #941674 #CA1E9D

Accessibility & contrast

On white

12.74
#5F0E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5F0E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0E4A
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0E4A#FFFFFF#000000##FFFFFF
##5F0E4A1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162A4C
Deuteranopia (green-blind)
#313748
Tritanopia (blue-blind)
#65102B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f0e4a;
/* rgb */ color: rgb(95, 14, 74);
/* oklch */ color: oklch(33.6% 0.130 341.2);
Tailwind
colors: {
  custom: {
    50: '#90587c',
    500: '#5f0e4a',
    950: '#000000',
  },
}
SCSS
$custom: #5f0e4a;
$custom-light: #90587c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0e4a",
  "rgb": {
    "r": 95,
    "g": 14,
    "b": 74
  },
  "hsl": {
    "h": 315.556,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33612,
    "c": 0.12965,
    "h": 341.2
  },
  "luminance": 0.03241
}

Semantic roles & 50–950 ramp

primary
#5F0E4A
secondary
#30994B
accent
#F16737
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F0E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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