#5F1544#5F1544

#5F1544 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.9% C 0.118 H 346.2°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#5F1544
RGBrgb(95, 21, 68)
HSLhsl(322, 64%, 23%)
HSVhsv(322, 78%, 37%)
CMYKcmyk(0%, 77.9%, 28.4%, 62.7%)
CIE-LABlab(21.53, 37.65, -10.56)
CIE-LCHlch(21.53, 39.10, 344.34°)
OKLaboklab(33.91% 0.1143 -0.028)
OKLCHoklch(33.91% 0.118 346.2)
XYZxyz(6.0311, 3.3872, 5.8039)
Luminance0.0339 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1544 #155F30
analogous
#55155F #5F1544 #5F151F
triadic
#5F1544 #445F15 #15445F
tetradic
#5F1544 #5F5515 #155F30 #151F5F
square
#5F1544 #5F5515 #155F30 #151F5F
split-complementary
#5F1544 #1F5F15 #155F55
monochromatic
#190612 #2D0A20 #5F1544 #912068 #C32B8C

Accessibility & contrast

On white

12.52
#5F1544 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1544
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1544#FFFFFF#000000##FFFFFF
##5F15441.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2C45
Deuteranopia (green-blind)
#353842
Tritanopia (blue-blind)
#66132A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f1544;
/* rgb */ color: rgb(95, 21, 68);
/* oklch */ color: oklch(33.9% 0.118 346.2);
Tailwind
colors: {
  custom: {
    50: '#905a78',
    500: '#5f1544',
    950: '#000000',
  },
}
SCSS
$custom: #5f1544;
$custom-light: #905a78;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1544",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 68
  },
  "hsl": {
    "h": 321.892,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33912,
    "c": 0.11762,
    "h": 346.2
  },
  "luminance": 0.03387
}

Semantic roles & 50–950 ramp

primary
#5F1544
secondary
#3A965B
accent
#E77D41
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1544

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

Preview Lab → · Contrast checker → · Palette generator →

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