#5F1532#5F1532

#5F1532 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.109 H 1.4°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#5F1532
RGBrgb(95, 21, 50)
HSLhsl(336, 64%, 23%)
HSVhsv(336, 78%, 37%)
CMYKcmyk(0%, 77.9%, 47.4%, 62.7%)
CIE-LABlab(20.83, 35.39, 0.88)
CIE-LCHlch(20.83, 35.40, 1.42°)
OKLaboklab(33.17% 0.1085 0.0027)
OKLCHoklch(33.17% 0.109 1.4)
XYZxyz(5.5636, 3.2002, 3.3417)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1532 #155F42
analogous
#5F1557 #5F1532 #5F1D15
triadic
#5F1532 #325F15 #15325F
tetradic
#5F1532 #575F15 #155F42 #1D155F
square
#5F1532 #575F15 #155F42 #1D155F
split-complementary
#5F1532 #155F1D #15575F
monochromatic
#19060D #2D0A18 #5F1532 #91204C #C32B67

Accessibility & contrast

On white

12.80
#5F1532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5F1532 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1532
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1532#FFFFFF#000000##FFFFFF
##5F15321.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252933
Deuteranopia (green-blind)
#393730
Tritanopia (blue-blind)
#680921
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1532;
/* rgb */ color: rgb(95, 21, 50);
/* oklch */ color: oklch(33.2% 0.109 1.4);
Tailwind
colors: {
  custom: {
    50: '#905a69',
    500: '#5f1532',
    950: '#000000',
  },
}
SCSS
$custom: #5f1532;
$custom-light: #905a69;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1532",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 50
  },
  "hsl": {
    "h": 336.486,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33166,
    "c": 0.10853,
    "h": 1.4
  },
  "luminance": 0.032
}

Semantic roles & 50–950 ramp

primary
#5F1532
secondary
#3A9672
accent
#E7A641
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1532

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

Preview Lab → · Contrast checker → · Palette generator →

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