#5E152C#5E152C

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

Color values

HEX#5E152C
RGBrgb(94, 21, 44)
HSLhsl(341, 63%, 23%)
HSVhsv(341, 78%, 37%)
CMYKcmyk(0%, 77.7%, 53.2%, 63.1%)
CIE-LABlab(20.43, 34.45, 4.50)
CIE-LCHlch(20.43, 34.74, 7.45°)
OKLaboklab(32.78% 0.1051 0.0118)
OKLCHoklch(32.78% 0.106 6.4)
XYZxyz(5.3393, 3.0986, 2.6993)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E152C #155E47
analogous
#5E1550 #5E152C #5E2315
triadic
#5E152C #2C5E15 #152C5E
tetradic
#5E152C #505E15 #155E47 #23155E
square
#5E152C #505E15 #155E47 #23155E
split-complementary
#5E152C #155E23 #15505E
monochromatic
#19060C #2C0A15 #5E152C #902043 #C22B5B

Accessibility & contrast

On white

12.97
#5E152C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E152C
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E152C#FFFFFF#000000##FFFFFF
##5E152C1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26282C
Deuteranopia (green-blind)
#3A372A
Tritanopia (blue-blind)
#67061F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e152c;
/* rgb */ color: rgb(94, 21, 44);
/* oklch */ color: oklch(32.8% 0.106 6.4);
Tailwind
colors: {
  custom: {
    50: '#905964',
    500: '#5e152c',
    950: '#000000',
  },
}
SCSS
$custom: #5e152c;
$custom-light: #905964;
$custom-dark: #000000;
JSON
{
  "hex": "#5e152c",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 44
  },
  "hsl": {
    "h": 341.096,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32776,
    "c": 0.10576,
    "h": 6.4
  },
  "luminance": 0.03098
}

Semantic roles & 50–950 ramp

primary
#5E152C
secondary
#399578
accent
#E7B241
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5E152C

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

Preview Lab → · Contrast checker → · Palette generator →

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