#5F1149#5F1149

#5F1149 is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.8% C 0.126 H 342.1°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#5F1149
RGBrgb(95, 17, 73)
HSLhsl(317, 70%, 22%)
HSVhsv(317, 82%, 37%)
CMYKcmyk(0%, 82.1%, 23.2%, 62.7%)
CIE-LABlab(21.27, 39.81, -14.39)
CIE-LCHlch(21.27, 42.33, 340.12°)
OKLaboklab(33.8% 0.1197 -0.0387)
OKLCHoklch(33.8% 0.126 342.1)
XYZxyz(6.1226, 3.3155, 6.6196)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1149 #115F27
analogous
#4E115F #5F1149 #5F1122
triadic
#5F1149 #495F11 #11495F
tetradic
#5F1149 #5F4E11 #115F27 #11225F
square
#5F1149 #5F4E11 #115F27 #11225F
split-complementary
#5F1149 #225F11 #115F4E
monochromatic
#1A0514 #2B0821 #5F1149 #931A71 #C72499

Accessibility & contrast

On white

12.63
#5F1149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1149
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1149#FFFFFF#000000##FFFFFF
##5F11491.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192B4A
Deuteranopia (green-blind)
#323847
Tritanopia (blue-blind)
#65122B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1149;
/* rgb */ color: rgb(95, 17, 73);
/* oklch */ color: oklch(33.8% 0.126 342.1);
Tailwind
colors: {
  custom: {
    50: '#90597c',
    500: '#5f1149',
    950: '#000000',
  },
}
SCSS
$custom: #5f1149;
$custom-light: #90597c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1149",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 73
  },
  "hsl": {
    "h": 316.923,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33796,
    "c": 0.12579,
    "h": 342.1
  },
  "luminance": 0.03315
}

Semantic roles & 50–950 ramp

primary
#5F1149
secondary
#349850
accent
#EC6D3B
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F1149

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

Preview Lab → · Contrast checker → · Palette generator →

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