#5E2138#5E2138

#5E2138 is a dark, moderate pink. Relative luminance 0.038; OKLCH L 34.7% C 0.092 H 359.6°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#5E2138
RGBrgb(94, 33, 56)
HSLhsl(337, 48%, 25%)
HSVhsv(337, 65%, 37%)
CMYKcmyk(0%, 64.9%, 40.4%, 63.1%)
CIE-LABlab(22.84, 30.27, -0.37)
CIE-LCHlch(22.84, 30.27, 359.29°)
OKLaboklab(34.69% 0.0924 -0.0006)
OKLCHoklch(34.69% 0.092 359.6)
XYZxyz(5.8741, 3.7536, 4.1558)
Luminance0.0375 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2138 #215E47
analogous
#5E2156 #5E2138 #5E2921
triadic
#5E2138 #385E21 #21385E
tetradic
#5E2138 #565E21 #215E47 #29215E
square
#5E2138 #565E21 #215E47 #29215E
split-complementary
#5E2138 #215E29 #21565E
monochromatic
#17080D #31111D #5E2138 #8B3153 #B9416E

Accessibility & contrast

On white

12.00
#5E2138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E2138
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2138#FFFFFF#000000##FFFFFF
##5E21381.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2F39
Deuteranopia (green-blind)
#3C3B37
Tritanopia (blue-blind)
#661B2A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e2138;
/* rgb */ color: rgb(94, 33, 56);
/* oklch */ color: oklch(34.7% 0.092 359.6);
Tailwind
colors: {
  custom: {
    50: '#8f606e',
    500: '#5e2138',
    950: '#000000',
  },
}
SCSS
$custom: #5e2138;
$custom-light: #8f606e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2138",
  "rgb": {
    "r": 94,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 337.377,
    "s": 48.031,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34685,
    "c": 0.0924,
    "h": 359.6
  },
  "luminance": 0.03753
}

Semantic roles & 50–950 ramp

primary
#5E2138
secondary
#499276
accent
#D8A550
background
#F9F5F6
surface
#F1EAEB
border
#CBC6C6
text
#0D0507
muted
#7E797A

Preview Lab

Preview with #5E2138

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

Preview Lab → · Contrast checker → · Palette generator →

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