#5F0E4D#5F0E4D

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

Color values

HEX#5F0E4D
RGBrgb(95, 14, 77)
HSLhsl(313, 74%, 21%)
HSVhsv(313, 85%, 37%)
CMYKcmyk(0%, 85.3%, 18.9%, 62.7%)
CIE-LABlab(21.14, 41.34, -17.30)
CIE-LCHlch(21.14, 44.82, 337.29°)
OKLaboklab(33.78% 0.1231 -0.0469)
OKLCHoklch(33.78% 0.132 339.2)
XYZxyz(6.2161, 3.2834, 7.3261)
Luminance0.0328 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0E4D #0E5F20
analogous
#490E5F #5F0E4D #5F0E25
triadic
#5F0E4D #4D5F0E #0E4D5F
tetradic
#5F0E4D #5F490E #0E5F20 #0E255F
square
#5F0E4D #5F490E #0E5F20 #0E255F
split-complementary
#5F0E4D #255F0E #0E5F49
monochromatic
#1B0416 #2A0622 #5F0E4D #941678 #CA1EA3

Accessibility & contrast

On white

12.68
#5F0E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0E4D
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0E4D#FFFFFF#000000##FFFFFF
##5F0E4D1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142B4F
Deuteranopia (green-blind)
#2F374B
Tritanopia (blue-blind)
#65122D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f0e4d;
/* rgb */ color: rgb(95, 14, 77);
/* oklch */ color: oklch(33.8% 0.132 339.2);
Tailwind
colors: {
  custom: {
    50: '#90587f',
    500: '#5f0e4d',
    950: '#000000',
  },
}
SCSS
$custom: #5f0e4d;
$custom-light: #90587f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0e4d",
  "rgb": {
    "r": 95,
    "g": 14,
    "b": 77
  },
  "hsl": {
    "h": 313.333,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33776,
    "c": 0.13177,
    "h": 339.2
  },
  "luminance": 0.03283
}

Semantic roles & 50–950 ramp

primary
#5F0E4D
secondary
#309947
accent
#F16037
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F0E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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