#5F1843#5F1843

#5F1843 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.2% C 0.113 H 347.5°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#5F1843
RGBrgb(95, 24, 67)
HSLhsl(324, 60%, 23%)
HSVhsv(324, 75%, 37%)
CMYKcmyk(0%, 74.7%, 29.5%, 62.7%)
CIE-LABlab(21.92, 36.31, -9.29)
CIE-LCHlch(21.92, 37.48, 345.65°)
OKLaboklab(34.18% 0.1103 -0.0245)
OKLCHoklch(34.18% 0.113 347.5)
XYZxyz(6.0593, 3.4921, 5.6640)
Luminance0.0349 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1843 #185F34
analogous
#57185F #5F1843 #5F181F
triadic
#5F1843 #435F18 #18435F
tetradic
#5F1843 #5F5718 #185F34 #181F5F
square
#5F1843 #5F5718 #185F34 #181F5F
split-complementary
#5F1843 #1F5F18 #185F57
monochromatic
#180611 #2E0C21 #5F1843 #902465 #C13188

Accessibility & contrast

On white

12.37
#5F1843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1843
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1843#FFFFFF#000000##FFFFFF
##5F18431.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212D44
Deuteranopia (green-blind)
#363941
Tritanopia (blue-blind)
#66162B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f1843;
/* rgb */ color: rgb(95, 24, 67);
/* oklch */ color: oklch(34.2% 0.113 347.5);
Tailwind
colors: {
  custom: {
    50: '#8f5c77',
    500: '#5f1843',
    950: '#000000',
  },
}
SCSS
$custom: #5f1843;
$custom-light: #8f5c77;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1843",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 67
  },
  "hsl": {
    "h": 323.662,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34178,
    "c": 0.11296,
    "h": 347.5
  },
  "luminance": 0.03491
}

Semantic roles & 50–950 ramp

primary
#5F1843
secondary
#3D9560
accent
#E38345
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1843

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

Preview Lab → · Contrast checker → · Palette generator →

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