#5E2137#5E2137

#5E2137 is a dark, moderate pink. Relative luminance 0.037; OKLCH L 34.6% C 0.092 H 0.7°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#5E2137
RGBrgb(94, 33, 55)
HSLhsl(338, 48%, 25%)
HSVhsv(338, 65%, 37%)
CMYKcmyk(0%, 64.9%, 41.5%, 63.1%)
CIE-LABlab(22.81, 30.14, 0.26)
CIE-LCHlch(22.81, 30.15, 0.50°)
OKLaboklab(34.65% 0.092 0.0011)
OKLCHoklch(34.65% 0.092 0.7)
XYZxyz(5.8499, 3.7439, 4.0283)
Luminance0.0374 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2137 #215E48
analogous
#5E2155 #5E2137 #5E2A21
triadic
#5E2137 #375E21 #21375E
tetradic
#5E2137 #555E21 #215E48 #2A215E
square
#5E2137 #555E21 #215E48 #2A215E
split-complementary
#5E2137 #215E2A #21555E
monochromatic
#17080D #31111C #5E2137 #8B3152 #B9416C

Accessibility & contrast

On white

12.01
#5E2137 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5E2137 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2137
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2137#FFFFFF#000000##FFFFFF
##5E21371.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2F38
Deuteranopia (green-blind)
#3C3B36
Tritanopia (blue-blind)
#661B29
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e2137;
/* rgb */ color: rgb(94, 33, 55);
/* oklch */ color: oklch(34.6% 0.092 0.7);
Tailwind
colors: {
  custom: {
    50: '#8f606d',
    500: '#5e2137',
    950: '#000000',
  },
}
SCSS
$custom: #5e2137;
$custom-light: #8f606d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2137",
  "rgb": {
    "r": 94,
    "g": 33,
    "b": 55
  },
  "hsl": {
    "h": 338.361,
    "s": 48.031,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34649,
    "c": 0.09202,
    "h": 0.7
  },
  "luminance": 0.03743
}

Semantic roles & 50–950 ramp

primary
#5E2137
secondary
#499278
accent
#D8A750
background
#F9F5F6
surface
#F1EAEB
border
#CBC6C6
text
#0D0507
muted
#7E797A

Preview Lab

Preview with #5E2137

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

Preview Lab → · Contrast checker → · Palette generator →

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