#5E183B#5E183B

#5E183B is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.6% C 0.107 H 353.8°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#5E183B
RGBrgb(94, 24, 59)
HSLhsl(330, 59%, 23%)
HSVhsv(330, 74%, 37%)
CMYKcmyk(0%, 74.5%, 37.2%, 63.1%)
CIE-LABlab(21.39, 34.91, -4.58)
CIE-LCHlch(21.39, 35.21, 352.52°)
OKLaboklab(33.65% 0.1068 -0.0117)
OKLCHoklch(33.65% 0.107 353.8)
XYZxyz(5.7325, 3.3494, 4.4814)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E183B #185E3B
analogous
#5E185E #5E183B #5E1818
triadic
#5E183B #3B5E18 #183B5E
tetradic
#5E183B #5E5E18 #185E3B #18185E
square
#5E183B #5E5E18 #185E3B #18185E
split-complementary
#5E183B #185E18 #185E5E
monochromatic
#18060F #2D0C1C #5E183B #8F245A #C03178

Accessibility & contrast

On white

12.58
#5E183B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5E183B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E183B
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E183B#FFFFFF#000000##FFFFFF
##5E183B1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242B3C
Deuteranopia (green-blind)
#383839
Tritanopia (blue-blind)
#661227
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e183b;
/* rgb */ color: rgb(94, 24, 59);
/* oklch */ color: oklch(33.6% 0.107 353.8);
Tailwind
colors: {
  custom: {
    50: '#8f5b70',
    500: '#5e183b',
    950: '#000000',
  },
}
SCSS
$custom: #5e183b;
$custom-light: #8f5b70;
$custom-dark: #000000;
JSON
{
  "hex": "#5e183b",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 59
  },
  "hsl": {
    "h": 330,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33649,
    "c": 0.10747,
    "h": 353.8
  },
  "luminance": 0.03349
}

Semantic roles & 50–950 ramp

primary
#5E183B
secondary
#3D9469
accent
#E39445
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5E183B

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

Preview Lab → · Contrast checker → · Palette generator →

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