#5F0F4E#5F0F4E

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

Color values

HEX#5F0F4E
RGBrgb(95, 15, 78)
HSLhsl(313, 73%, 22%)
HSVhsv(313, 84%, 37%)
CMYKcmyk(0%, 84.2%, 17.9%, 62.7%)
CIE-LABlab(21.30, 41.20, -17.74)
CIE-LCHlch(21.30, 44.85, 336.71°)
OKLaboklab(33.91% 0.1224 -0.0481)
OKLCHoklch(33.91% 0.131 338.5)
XYZxyz(6.2654, 3.3252, 7.5181)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F4E #0F5F20
analogous
#480F5F #5F0F4E #5F0F26
triadic
#5F0F4E #4E5F0F #0F4E5F
tetradic
#5F0F4E #5F480F #0F5F20 #0F265F
square
#5F0F4E #5F480F #0F5F20 #0F265F
split-complementary
#5F0F4E #265F0F #0F5F48
monochromatic
#1A0416 #2A0723 #5F0F4E #941779 #C920A5

Accessibility & contrast

On white

12.61
#5F0F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5F0F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F4E
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F4E#FFFFFF#000000##FFFFFF
##5F0F4E1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142B50
Deuteranopia (green-blind)
#2F384C
Tritanopia (blue-blind)
#65132E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f0f4e;
/* rgb */ color: rgb(95, 15, 78);
/* oklch */ color: oklch(33.9% 0.131 338.5);
Tailwind
colors: {
  custom: {
    50: '#90587f',
    500: '#5f0f4e',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f4e;
$custom-light: #90587f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f4e",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 78
  },
  "hsl": {
    "h": 312.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33906,
    "c": 0.13148,
    "h": 338.5
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#5F0F4E
secondary
#329847
accent
#EF5F38
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F0F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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