#5E152B#5E152B

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

Color values

HEX#5E152B
RGBrgb(94, 21, 43)
HSLhsl(342, 63%, 23%)
HSVhsv(342, 78%, 37%)
CMYKcmyk(0%, 77.7%, 54.3%, 63.1%)
CIE-LABlab(20.41, 34.35, 5.16)
CIE-LCHlch(20.41, 34.74, 8.55°)
OKLaboklab(32.75% 0.1047 0.0134)
OKLCHoklch(32.75% 0.106 7.3)
XYZxyz(5.3208, 3.0912, 2.6015)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E152B #155E48
analogous
#5E154F #5E152B #5E2415
triadic
#5E152B #2B5E15 #152B5E
tetradic
#5E152B #4F5E15 #155E48 #24155E
square
#5E152B #4F5E15 #155E48 #24155E
split-complementary
#5E152B #155E24 #154F5E
monochromatic
#19060B #2C0A14 #5E152B #902042 #C22B59

Accessibility & contrast

On white

12.98
#5E152B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E152B
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E152B#FFFFFF#000000##FFFFFF
##5E152B1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27282B
Deuteranopia (green-blind)
#3A3629
Tritanopia (blue-blind)
#67061E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e152b;
/* rgb */ color: rgb(94, 21, 43);
/* oklch */ color: oklch(32.7% 0.106 7.3);
Tailwind
colors: {
  custom: {
    50: '#905964',
    500: '#5e152b',
    950: '#000000',
  },
}
SCSS
$custom: #5e152b;
$custom-light: #905964;
$custom-dark: #000000;
JSON
{
  "hex": "#5e152b",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 43
  },
  "hsl": {
    "h": 341.918,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32745,
    "c": 0.10553,
    "h": 7.3
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#5E152B
secondary
#39957A
accent
#E7B541
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5E152B

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

Preview Lab → · Contrast checker → · Palette generator →

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