#5F0E47#5F0E47

#5F0E47 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.5% C 0.128 H 343.3°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#5F0E47
RGBrgb(95, 14, 71)
HSLhsl(318, 74%, 21%)
HSVhsv(318, 85%, 37%)
CMYKcmyk(0%, 85.3%, 25.3%, 62.7%)
CIE-LABlab(20.84, 40.46, -13.68)
CIE-LCHlch(20.84, 42.71, 341.31°)
OKLaboklab(33.45% 0.1222 -0.0366)
OKLCHoklch(33.45% 0.128 343.3)
XYZxyz(6.0139, 3.2026, 6.2615)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0E47 #0E5F26
analogous
#4F0E5F #5F0E47 #5F0E1F
triadic
#5F0E47 #475F0E #0E475F
tetradic
#5F0E47 #5F4F0E #0E5F26 #0E1F5F
square
#5F0E47 #5F4F0E #0E5F26 #0E1F5F
split-complementary
#5F0E47 #1F5F0E #0E5F4F
monochromatic
#1B0414 #2A061F #5F0E47 #94166F #CA1E97

Accessibility & contrast

On white

12.80
#5F0E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5F0E47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0E47
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0E47#FFFFFF#000000##FFFFFF
##5F0E471.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182A48
Deuteranopia (green-blind)
#323745
Tritanopia (blue-blind)
#660E2A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f0e47;
/* rgb */ color: rgb(95, 14, 71);
/* oklch */ color: oklch(33.5% 0.128 343.3);
Tailwind
colors: {
  custom: {
    50: '#90587a',
    500: '#5f0e47',
    950: '#000000',
  },
}
SCSS
$custom: #5f0e47;
$custom-light: #90587a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0e47",
  "rgb": {
    "r": 95,
    "g": 14,
    "b": 71
  },
  "hsl": {
    "h": 317.778,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33454,
    "c": 0.12762,
    "h": 343.3
  },
  "luminance": 0.03202
}

Semantic roles & 50–950 ramp

primary
#5F0E47
secondary
#30994F
accent
#F16E37
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F0E47

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

Preview Lab → · Contrast checker → · Palette generator →

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