#5F1853#5F1853

#5F1853 is a dark, vivid pink. Relative luminance 0.037; OKLCH L 35.0% C 0.125 H 335.5°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#5F1853
RGBrgb(95, 24, 83)
HSLhsl(310, 60%, 23%)
HSVhsv(310, 75%, 37%)
CMYKcmyk(0%, 74.7%, 12.6%, 62.7%)
CIE-LABlab(22.69, 38.81, -18.93)
CIE-LCHlch(22.69, 43.18, 333.99°)
OKLaboklab(35% 0.1134 -0.0516)
OKLCHoklch(35% 0.125 335.5)
XYZxyz(6.6074, 3.7113, 8.5503)
Luminance0.0371 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1853 #185F24
analogous
#47185F #5F1853 #5F182F
triadic
#5F1853 #535F18 #18535F
tetradic
#5F1853 #5F4718 #185F24 #182F5F
square
#5F1853 #5F4718 #185F24 #182F5F
split-complementary
#5F1853 #2F5F18 #185F47
monochromatic
#180615 #2E0C28 #5F1853 #90247E #C131A8

Accessibility & contrast

On white

12.05
#5F1853 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#5F1853 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1853
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1853#FFFFFF#000000##FFFFFF
##5F18531.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182F55
Deuteranopia (green-blind)
#313A51
Tritanopia (blue-blind)
#641D33
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5f1853;
/* rgb */ color: rgb(95, 24, 83);
/* oklch */ color: oklch(35.0% 0.125 335.5);
Tailwind
colors: {
  custom: {
    50: '#8f5c83',
    500: '#5f1853',
    950: '#000000',
  },
}
SCSS
$custom: #5f1853;
$custom-light: #8f5c83;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1853",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 83
  },
  "hsl": {
    "h": 310.141,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34997,
    "c": 0.12459,
    "h": 335.5
  },
  "luminance": 0.03711
}

Semantic roles & 50–950 ramp

primary
#5F1853
secondary
#3D954C
accent
#E36045
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F1853

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

Preview Lab → · Contrast checker → · Palette generator →

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