#5F1545#5F1545

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

Color values

HEX#5F1545
RGBrgb(95, 21, 69)
HSLhsl(321, 64%, 23%)
HSVhsv(321, 78%, 37%)
CMYKcmyk(0%, 77.9%, 27.4%, 62.7%)
CIE-LABlab(21.58, 37.80, -11.17)
CIE-LCHlch(21.58, 39.41, 343.53°)
OKLaboklab(33.96% 0.1145 -0.0297)
OKLCHoklch(33.96% 0.118 345.5)
XYZxyz(6.0619, 3.3995, 5.9660)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1545 #155F2F
analogous
#54155F #5F1545 #5F1520
triadic
#5F1545 #455F15 #15455F
tetradic
#5F1545 #5F5415 #155F2F #15205F
square
#5F1545 #5F5415 #155F2F #15205F
split-complementary
#5F1545 #205F15 #155F54
monochromatic
#190612 #2D0A21 #5F1545 #912069 #C32B8E

Accessibility & contrast

On white

12.50
#5F1545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1545
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1545#FFFFFF#000000##FFFFFF
##5F15451.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2C46
Deuteranopia (green-blind)
#343843
Tritanopia (blue-blind)
#66142B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f1545;
/* rgb */ color: rgb(95, 21, 69);
/* oklch */ color: oklch(34.0% 0.118 345.5);
Tailwind
colors: {
  custom: {
    50: '#905a78',
    500: '#5f1545',
    950: '#000000',
  },
}
SCSS
$custom: #5f1545;
$custom-light: #905a78;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1545",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 69
  },
  "hsl": {
    "h": 321.081,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3396,
    "c": 0.11827,
    "h": 345.5
  },
  "luminance": 0.03399
}

Semantic roles & 50–950 ramp

primary
#5F1545
secondary
#3A965A
accent
#E77B41
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F1545

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

Preview Lab → · Contrast checker → · Palette generator →

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