#5F0E4C#5F0E4C

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

Color values

HEX#5F0E4C
RGBrgb(95, 14, 76)
HSLhsl(314, 74%, 21%)
HSVhsv(314, 85%, 37%)
CMYKcmyk(0%, 85.3%, 20%, 62.7%)
CIE-LABlab(21.09, 41.19, -16.71)
CIE-LCHlch(21.09, 44.45, 337.92°)
OKLaboklab(33.72% 0.123 -0.0452)
OKLCHoklch(33.72% 0.131 339.8)
XYZxyz(6.1810, 3.2694, 7.1416)
Luminance0.0327 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0E4C #0E5F21
analogous
#4A0E5F #5F0E4C #5F0E24
triadic
#5F0E4C #4C5F0E #0E4C5F
tetradic
#5F0E4C #5F4A0E #0E5F21 #0E245F
square
#5F0E4C #5F4A0E #0E5F21 #0E245F
split-complementary
#5F0E4C #245F0E #0E5F4A
monochromatic
#1B0415 #2A0621 #5F0E4C #941677 #CA1EA1

Accessibility & contrast

On white

12.70
#5F0E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0E4C
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0E4C#FFFFFF#000000##FFFFFF
##5F0E4C1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142B4E
Deuteranopia (green-blind)
#30374A
Tritanopia (blue-blind)
#65112C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f0e4c;
/* rgb */ color: rgb(95, 14, 76);
/* oklch */ color: oklch(33.7% 0.131 339.8);
Tailwind
colors: {
  custom: {
    50: '#90587e',
    500: '#5f0e4c',
    950: '#000000',
  },
}
SCSS
$custom: #5f0e4c;
$custom-light: #90587e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0e4c",
  "rgb": {
    "r": 95,
    "g": 14,
    "b": 76
  },
  "hsl": {
    "h": 314.074,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33721,
    "c": 0.13105,
    "h": 339.8
  },
  "luminance": 0.03269
}

Semantic roles & 50–950 ramp

primary
#5F0E4C
secondary
#309949
accent
#F16337
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F0E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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