#5F0F4B#5F0F4B

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

Color values

HEX#5F0F4B
RGBrgb(95, 15, 75)
HSLhsl(315, 73%, 22%)
HSVhsv(315, 84%, 37%)
CMYKcmyk(0%, 84.2%, 21.1%, 62.7%)
CIE-LABlab(21.14, 40.74, -15.94)
CIE-LCHlch(21.14, 43.75, 338.63°)
OKLaboklab(33.74% 0.122 -0.043)
OKLCHoklch(33.74% 0.129 340.6)
XYZxyz(6.1603, 3.2832, 6.9645)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F4B #0F5F23
analogous
#4B0F5F #5F0F4B #5F0F23
triadic
#5F0F4B #4B5F0F #0F4B5F
tetradic
#5F0F4B #5F4B0F #0F5F23 #0F235F
square
#5F0F4B #5F4B0F #0F5F23 #0F235F
split-complementary
#5F0F4B #235F0F #0F5F4B
monochromatic
#1A0415 #2A0721 #5F0F4B #941775 #C9209E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F0F4B#FFFFFF#000000##FFFFFF
##5F0F4B1.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)
#162B4D
Deuteranopia (green-blind)
#303749
Tritanopia (blue-blind)
#65122C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f0f4b;
/* rgb */ color: rgb(95, 15, 75);
/* oklch */ color: oklch(33.7% 0.129 340.6);
Tailwind
colors: {
  custom: {
    50: '#90587d',
    500: '#5f0f4b',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f4b;
$custom-light: #90587d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f4b",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 75
  },
  "hsl": {
    "h": 315,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33741,
    "c": 0.12933,
    "h": 340.6
  },
  "luminance": 0.03283
}

Semantic roles & 50–950 ramp

primary
#5F0F4B
secondary
#32984B
accent
#EF6638
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F0F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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