#5F0C49#5F0C49

#5F0C49 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.4% C 0.131 H 341.8°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#5F0C49
RGBrgb(95, 12, 73)
HSLhsl(316, 78%, 21%)
HSVhsv(316, 87%, 37%)
CMYKcmyk(0%, 87.4%, 23.2%, 62.7%)
CIE-LABlab(20.74, 41.31, -15.20)
CIE-LCHlch(20.74, 44.02, 339.79°)
OKLaboklab(33.42% 0.1243 -0.0409)
OKLCHoklch(33.42% 0.131 341.8)
XYZxyz(6.0536, 3.1775, 6.5966)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0C49 #0C5F22
analogous
#4B0C5F #5F0C49 #5F0C1F
triadic
#5F0C49 #495F0C #0C495F
tetradic
#5F0C49 #5F4B0C #0C5F22 #0C1F5F
square
#5F0C49 #5F4B0C #0C5F22 #0C1F5F
split-complementary
#5F0C49 #1F5F0C #0C5F4B
monochromatic
#1B0315 #29051F #5F0C49 #951373 #CC1A9D

Accessibility & contrast

On white

12.84
#5F0C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0C49
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0C49#FFFFFF#000000##FFFFFF
##5F0C491.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15294B
Deuteranopia (green-blind)
#303747
Tritanopia (blue-blind)
#650E2A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f0c49;
/* rgb */ color: rgb(95, 12, 73);
/* oklch */ color: oklch(33.4% 0.131 341.8);
Tailwind
colors: {
  custom: {
    50: '#90577c',
    500: '#5f0c49',
    950: '#000000',
  },
}
SCSS
$custom: #5f0c49;
$custom-light: #90577c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0c49",
  "rgb": {
    "r": 95,
    "g": 12,
    "b": 73
  },
  "hsl": {
    "h": 315.904,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33418,
    "c": 0.13087,
    "h": 341.8
  },
  "luminance": 0.03177
}

Semantic roles & 50–950 ramp

primary
#5F0C49
secondary
#2D994A
accent
#F46734
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F0C49

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

Preview Lab → · Contrast checker → · Palette generator →

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