#5F1528#5F1528

#5F1528 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.106 H 10.3°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#5F1528
RGBrgb(95, 21, 40)
HSLhsl(345, 64%, 23%)
HSVhsv(345, 78%, 37%)
CMYKcmyk(0%, 77.9%, 57.9%, 62.7%)
CIE-LABlab(20.53, 34.41, 7.48)
CIE-LCHlch(20.53, 35.21, 12.27°)
OKLaboklab(32.85% 0.1044 0.019)
OKLCHoklch(32.85% 0.106 10.3)
XYZxyz(5.3710, 3.1232, 2.3271)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1528 #155F4C
analogous
#5F154D #5F1528 #5F2715
triadic
#5F1528 #285F15 #15285F
tetradic
#5F1528 #4D5F15 #155F4C #27155F
square
#5F1528 #4D5F15 #155F4C #27155F
split-complementary
#5F1528 #155F27 #154D5F
monochromatic
#19060B #2D0A13 #5F1528 #91203D #C32B52

Accessibility & contrast

On white

12.93
#5F1528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5F1528 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1528
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1528#FFFFFF#000000##FFFFFF
##5F15281.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282828
Deuteranopia (green-blind)
#3B3726
Tritanopia (blue-blind)
#68041D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1528;
/* rgb */ color: rgb(95, 21, 40);
/* oklch */ color: oklch(32.8% 0.106 10.3);
Tailwind
colors: {
  custom: {
    50: '#915961',
    500: '#5f1528',
    950: '#000000',
  },
}
SCSS
$custom: #5f1528;
$custom-light: #915961;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1528",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 40
  },
  "hsl": {
    "h": 344.595,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32849,
    "c": 0.10606,
    "h": 10.3
  },
  "luminance": 0.03122
}

Semantic roles & 50–950 ramp

primary
#5F1528
secondary
#3A967E
accent
#E7BC41
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5F1528

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

Preview Lab → · Contrast checker → · Palette generator →

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