#5F0C48#5F0C48

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

Color values

HEX#5F0C48
RGBrgb(95, 12, 72)
HSLhsl(317, 78%, 21%)
HSVhsv(317, 87%, 37%)
CMYKcmyk(0%, 87.4%, 24.2%, 62.7%)
CIE-LABlab(20.69, 41.17, -14.60)
CIE-LCHlch(20.69, 43.68, 340.48°)
OKLaboklab(33.37% 0.1242 -0.0392)
OKLCHoklch(33.37% 0.13 342.5)
XYZxyz(6.0207, 3.1644, 6.4234)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0C48 #0C5F23
analogous
#4C0C5F #5F0C48 #5F0C1E
triadic
#5F0C48 #485F0C #0C485F
tetradic
#5F0C48 #5F4C0C #0C5F23 #0C1E5F
square
#5F0C48 #5F4C0C #0C5F23 #0C1E5F
split-complementary
#5F0C48 #1E5F0C #0C5F4C
monochromatic
#1B0315 #29051F #5F0C48 #951371 #CC1A9A

Accessibility & contrast

On white

12.86
#5F0C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5F0C48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0C48
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0C48#FFFFFF#000000##FFFFFF
##5F0C481.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16294A
Deuteranopia (green-blind)
#313746
Tritanopia (blue-blind)
#660D2A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f0c48;
/* rgb */ color: rgb(95, 12, 72);
/* oklch */ color: oklch(33.4% 0.130 342.5);
Tailwind
colors: {
  custom: {
    50: '#90577b',
    500: '#5f0c48',
    950: '#000000',
  },
}
SCSS
$custom: #5f0c48;
$custom-light: #90577b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0c48",
  "rgb": {
    "r": 95,
    "g": 12,
    "b": 72
  },
  "hsl": {
    "h": 316.627,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33365,
    "c": 0.1302,
    "h": 342.5
  },
  "luminance": 0.03164
}

Semantic roles & 50–950 ramp

primary
#5F0C48
secondary
#2D994B
accent
#F46934
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F0C48

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

Preview Lab → · Contrast checker → · Palette generator →

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