#5F1533#5F1533

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

Color values

HEX#5F1533
RGBrgb(95, 21, 51)
HSLhsl(336, 64%, 23%)
HSVhsv(336, 78%, 37%)
CMYKcmyk(0%, 77.9%, 46.3%, 62.7%)
CIE-LABlab(20.86, 35.50, 0.23)
CIE-LCHlch(20.86, 35.50, 0.37°)
OKLaboklab(33.2% 0.1089 0.001)
OKLCHoklch(33.2% 0.109 0.5)
XYZxyz(5.5854, 3.2090, 3.4566)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1533 #155F41
analogous
#5F1558 #5F1533 #5F1C15
triadic
#5F1533 #335F15 #15335F
tetradic
#5F1533 #585F15 #155F41 #1C155F
square
#5F1533 #585F15 #155F41 #1C155F
split-complementary
#5F1533 #155F1C #15585F
monochromatic
#19060D #2D0A18 #5F1533 #91204E #C32B69

Accessibility & contrast

On white

12.79
#5F1533 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1533
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1533#FFFFFF#000000##FFFFFF
##5F15331.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252934
Deuteranopia (green-blind)
#393731
Tritanopia (blue-blind)
#680A22
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1533;
/* rgb */ color: rgb(95, 21, 51);
/* oklch */ color: oklch(33.2% 0.109 0.5);
Tailwind
colors: {
  custom: {
    50: '#905a6a',
    500: '#5f1533',
    950: '#000000',
  },
}
SCSS
$custom: #5f1533;
$custom-light: #905a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1533",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 51
  },
  "hsl": {
    "h": 335.676,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33202,
    "c": 0.10889,
    "h": 0.5
  },
  "luminance": 0.03208
}

Semantic roles & 50–950 ramp

primary
#5F1533
secondary
#3A9671
accent
#E7A441
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1533

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

Preview Lab → · Contrast checker → · Palette generator →

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