#5F1349#5F1349

#5F1349 is a dark, vivid pink. Relative luminance 0.034; OKLCH L 34.0% C 0.123 H 342.3°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#5F1349
RGBrgb(95, 19, 73)
HSLhsl(317, 67%, 22%)
HSVhsv(317, 80%, 37%)
CMYKcmyk(0%, 80%, 23.2%, 62.7%)
CIE-LABlab(21.51, 39.12, -14.02)
CIE-LCHlch(21.51, 41.55, 340.29°)
OKLaboklab(33.97% 0.1176 -0.0376)
OKLCHoklch(33.97% 0.123 342.3)
XYZxyz(6.1550, 3.3803, 6.6304)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1349 #135F29
analogous
#4F135F #5F1349 #5F1323
triadic
#5F1349 #495F13 #13495F
tetradic
#5F1349 #5F4F13 #135F29 #13235F
square
#5F1349 #5F4F13 #135F29 #13235F
split-complementary
#5F1349 #235F13 #135F4F
monochromatic
#1A0514 #2C0922 #5F1349 #921D70 #C52797

Accessibility & contrast

On white

12.53
#5F1349 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5F1349 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1349
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1349#FFFFFF#000000##FFFFFF
##5F13491.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2C4A
Deuteranopia (green-blind)
#323847
Tritanopia (blue-blind)
#65142C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f1349;
/* rgb */ color: rgb(95, 19, 73);
/* oklch */ color: oklch(34.0% 0.123 342.3);
Tailwind
colors: {
  custom: {
    50: '#905a7c',
    500: '#5f1349',
    950: '#000000',
  },
}
SCSS
$custom: #5f1349;
$custom-light: #905a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1349",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 73
  },
  "hsl": {
    "h": 317.368,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33971,
    "c": 0.12346,
    "h": 342.3
  },
  "luminance": 0.0338
}

Semantic roles & 50–950 ramp

primary
#5F1349
secondary
#379753
accent
#EA703E
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F1349

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

Preview Lab → · Contrast checker → · Palette generator →

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