#5F1541#5F1541

#5F1541 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.8% C 0.116 H 348.6°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#5F1541
RGBrgb(95, 21, 65)
HSLhsl(324, 64%, 23%)
HSVhsv(324, 78%, 37%)
CMYKcmyk(0%, 77.9%, 31.6%, 62.7%)
CIE-LABlab(21.40, 37.23, -8.70)
CIE-LCHlch(21.40, 38.24, 346.85°)
OKLaboklab(33.77% 0.1135 -0.0228)
OKLCHoklch(33.77% 0.116 348.6)
XYZxyz(5.9419, 3.3515, 5.3340)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1541 #155F33
analogous
#58155F #5F1541 #5F151C
triadic
#5F1541 #415F15 #15415F
tetradic
#5F1541 #5F5815 #155F33 #151C5F
square
#5F1541 #5F5815 #155F33 #151C5F
split-complementary
#5F1541 #1C5F15 #155F58
monochromatic
#190611 #2D0A1F #5F1541 #912063 #C32B86

Accessibility & contrast

On white

12.57
#5F1541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5F1541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1541
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1541#FFFFFF#000000##FFFFFF
##5F15411.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202B42
Deuteranopia (green-blind)
#36383F
Tritanopia (blue-blind)
#661129
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1541;
/* rgb */ color: rgb(95, 21, 65);
/* oklch */ color: oklch(33.8% 0.116 348.6);
Tailwind
colors: {
  custom: {
    50: '#905a75',
    500: '#5f1541',
    950: '#000000',
  },
}
SCSS
$custom: #5f1541;
$custom-light: #905a75;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1541",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 65
  },
  "hsl": {
    "h": 324.324,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33772,
    "c": 0.11575,
    "h": 348.6
  },
  "luminance": 0.03351
}

Semantic roles & 50–950 ramp

primary
#5F1541
secondary
#3A965F
accent
#E78441
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1541

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

Preview Lab → · Contrast checker → · Palette generator →

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