#5F1845#5F1845

#5F1845 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.3% C 0.114 H 345.9°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#5F1845
RGBrgb(95, 24, 69)
HSLhsl(322, 60%, 23%)
HSVhsv(322, 75%, 37%)
CMYKcmyk(0%, 74.7%, 27.4%, 62.7%)
CIE-LABlab(22.00, 36.60, -10.52)
CIE-LCHlch(22.00, 38.08, 343.96°)
OKLaboklab(34.27% 0.1108 -0.0279)
OKLCHoklch(34.27% 0.114 345.9)
XYZxyz(6.1204, 3.5165, 5.9855)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1845 #185F32
analogous
#55185F #5F1845 #5F1821
triadic
#5F1845 #455F18 #18455F
tetradic
#5F1845 #5F5518 #185F32 #18215F
square
#5F1845 #5F5518 #185F32 #18215F
split-complementary
#5F1845 #215F18 #185F55
monochromatic
#180612 #2E0C22 #5F1845 #902468 #C1318C

Accessibility & contrast

On white

12.33
#5F1845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1845
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1845#FFFFFF#000000##FFFFFF
##5F18451.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212D46
Deuteranopia (green-blind)
#363943
Tritanopia (blue-blind)
#66172C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f1845;
/* rgb */ color: rgb(95, 24, 69);
/* oklch */ color: oklch(34.3% 0.114 345.9);
Tailwind
colors: {
  custom: {
    50: '#8f5c78',
    500: '#5f1845',
    950: '#000000',
  },
}
SCSS
$custom: #5f1845;
$custom-light: #8f5c78;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1845",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 321.972,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34271,
    "c": 0.11425,
    "h": 345.9
  },
  "luminance": 0.03516
}

Semantic roles & 50–950 ramp

primary
#5F1845
secondary
#3D955E
accent
#E37F45
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F1845

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

Preview Lab → · Contrast checker → · Palette generator →

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