#5F1352#5F1352

#5F1352 is a dark, vivid pink. Relative luminance 0.035; OKLCH L 34.5% C 0.130 H 336.0°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#5F1352
RGBrgb(95, 19, 82)
HSLhsl(310, 67%, 22%)
HSVhsv(310, 80%, 37%)
CMYKcmyk(0%, 80%, 13.7%, 62.7%)
CIE-LABlab(21.97, 40.53, -19.39)
CIE-LCHlch(21.97, 44.92, 334.44°)
OKLaboklab(34.46% 0.1189 -0.0529)
OKLCHoklch(34.46% 0.13 336)
XYZxyz(6.4753, 3.5084, 8.3172)
Luminance0.0351 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1352 #135F20
analogous
#46135F #5F1352 #5F132C
triadic
#5F1352 #525F13 #13525F
tetradic
#5F1352 #5F4613 #135F20 #132C5F
square
#5F1352 #5F4613 #135F20 #132C5F
split-complementary
#5F1352 #2C5F13 #135F46
monochromatic
#1A0516 #2C0926 #5F1352 #921D7E #C527AA

Accessibility & contrast

On white

12.34
#5F1352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5F1352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1352
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1352#FFFFFF#000000##FFFFFF
##5F13521.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142D54
Deuteranopia (green-blind)
#2F3950
Tritanopia (blue-blind)
#641931
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f1352;
/* rgb */ color: rgb(95, 19, 82);
/* oklch */ color: oklch(34.5% 0.130 336.0);
Tailwind
colors: {
  custom: {
    50: '#8f5a83',
    500: '#5f1352',
    950: '#000000',
  },
}
SCSS
$custom: #5f1352;
$custom-light: #8f5a83;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1352",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 310.263,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34461,
    "c": 0.13009,
    "h": 336
  },
  "luminance": 0.03508
}

Semantic roles & 50–950 ramp

primary
#5F1352
secondary
#379747
accent
#EA5C3E
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F1352

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

Preview Lab → · Contrast checker → · Palette generator →

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