#5F1536#5F1536

#5F1536 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.3% C 0.110 H 357.9°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#5F1536
RGBrgb(95, 21, 54)
HSLhsl(333, 64%, 23%)
HSVhsv(333, 78%, 37%)
CMYKcmyk(0%, 77.9%, 43.2%, 62.7%)
CIE-LABlab(20.97, 35.84, -1.72)
CIE-LCHlch(20.97, 35.88, 357.26°)
OKLaboklab(33.31% 0.11 -0.0041)
OKLCHoklch(33.31% 0.11 357.9)
XYZxyz(5.6537, 3.2363, 3.8163)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1536 #155F3E
analogous
#5F155B #5F1536 #5F1915
triadic
#5F1536 #365F15 #15365F
tetradic
#5F1536 #5B5F15 #155F3E #19155F
square
#5F1536 #5B5F15 #155F3E #19155F
split-complementary
#5F1536 #155F19 #155B5F
monochromatic
#19060E #2D0A1A #5F1536 #912052 #C32B6F

Accessibility & contrast

On white

12.75
#5F1536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5F1536 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1536
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1536#FFFFFF#000000##FFFFFF
##5F15361.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242937
Deuteranopia (green-blind)
#383734
Tritanopia (blue-blind)
#670B23
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1536;
/* rgb */ color: rgb(95, 21, 54);
/* oklch */ color: oklch(33.3% 0.110 357.9);
Tailwind
colors: {
  custom: {
    50: '#905a6c',
    500: '#5f1536',
    950: '#000000',
  },
}
SCSS
$custom: #5f1536;
$custom-light: #905a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1536",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 54
  },
  "hsl": {
    "h": 333.243,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33313,
    "c": 0.11007,
    "h": 357.9
  },
  "luminance": 0.03236
}

Semantic roles & 50–950 ramp

primary
#5F1536
secondary
#3A966D
accent
#E79D41
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F1536

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

Preview Lab → · Contrast checker → · Palette generator →

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