#5E152D#5E152D

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

Color values

HEX#5E152D
RGBrgb(94, 21, 45)
HSLhsl(340, 63%, 23%)
HSVhsv(340, 78%, 37%)
CMYKcmyk(0%, 77.7%, 52.1%, 63.1%)
CIE-LABlab(20.46, 34.55, 3.84)
CIE-LCHlch(20.46, 34.76, 6.34°)
OKLaboklab(32.81% 0.1055 0.0101)
OKLCHoklch(32.81% 0.106 5.5)
XYZxyz(5.3584, 3.1062, 2.7995)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E152D #155E46
analogous
#5E1551 #5E152D #5E2215
triadic
#5E152D #2D5E15 #152D5E
tetradic
#5E152D #515E15 #155E46 #22155E
square
#5E152D #515E15 #155E46 #22155E
split-complementary
#5E152D #155E22 #15515E
monochromatic
#19060C #2C0A15 #5E152D #902045 #C22B5D

Accessibility & contrast

On white

12.95
#5E152D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E152D
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E152D#FFFFFF#000000##FFFFFF
##5E152D1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26282E
Deuteranopia (green-blind)
#39372B
Tritanopia (blue-blind)
#67071F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e152d;
/* rgb */ color: rgb(94, 21, 45);
/* oklch */ color: oklch(32.8% 0.106 5.5);
Tailwind
colors: {
  custom: {
    50: '#905965',
    500: '#5e152d',
    950: '#000000',
  },
}
SCSS
$custom: #5e152d;
$custom-light: #905965;
$custom-dark: #000000;
JSON
{
  "hex": "#5e152d",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 45
  },
  "hsl": {
    "h": 340.274,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32808,
    "c": 0.10601,
    "h": 5.5
  },
  "luminance": 0.03105
}

Semantic roles & 50–950 ramp

primary
#5E152D
secondary
#399577
accent
#E7B041
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5E152D

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

Preview Lab → · Contrast checker → · Palette generator →

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