#5F0E4B#5F0E4B

#5F0E4B is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.7% C 0.130 H 340.5°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#5F0E4B
RGBrgb(95, 14, 75)
HSLhsl(315, 74%, 21%)
HSVhsv(315, 85%, 37%)
CMYKcmyk(0%, 85.3%, 21.1%, 62.7%)
CIE-LABlab(21.04, 41.04, -16.11)
CIE-LCHlch(21.04, 44.09, 338.57°)
OKLaboklab(33.67% 0.1229 -0.0435)
OKLCHoklch(33.67% 0.13 340.5)
XYZxyz(6.1465, 3.2556, 6.9599)
Luminance0.0326 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0E4B #0E5F22
analogous
#4B0E5F #5F0E4B #5F0E23
triadic
#5F0E4B #4B5F0E #0E4B5F
tetradic
#5F0E4B #5F4B0E #0E5F22 #0E235F
square
#5F0E4B #5F4B0E #0E5F22 #0E235F
split-complementary
#5F0E4B #235F0E #0E5F4B
monochromatic
#1B0415 #2A0621 #5F0E4B #941675 #CA1E9F

Accessibility & contrast

On white

12.72
#5F0E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0E4B
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0E4B#FFFFFF#000000##FFFFFF
##5F0E4B1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152A4D
Deuteranopia (green-blind)
#303749
Tritanopia (blue-blind)
#65112C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f0e4b;
/* rgb */ color: rgb(95, 14, 75);
/* oklch */ color: oklch(33.7% 0.130 340.5);
Tailwind
colors: {
  custom: {
    50: '#90587d',
    500: '#5f0e4b',
    950: '#000000',
  },
}
SCSS
$custom: #5f0e4b;
$custom-light: #90587d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0e4b",
  "rgb": {
    "r": 95,
    "g": 14,
    "b": 75
  },
  "hsl": {
    "h": 314.815,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33666,
    "c": 0.13035,
    "h": 340.5
  },
  "luminance": 0.03255
}

Semantic roles & 50–950 ramp

primary
#5F0E4B
secondary
#30994A
accent
#F16537
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F0E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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