#5E183F#5E183F

#5E183F is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.8% C 0.110 H 350.3°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#5E183F
RGBrgb(94, 24, 63)
HSLhsl(327, 59%, 23%)
HSVhsv(327, 74%, 37%)
CMYKcmyk(0%, 74.5%, 33%, 63.1%)
CIE-LABlab(21.55, 35.44, -7.11)
CIE-LCHlch(21.55, 36.15, 348.66°)
OKLaboklab(33.82% 0.1081 -0.0185)
OKLCHoklch(33.82% 0.11 350.3)
XYZxyz(5.8402, 3.3925, 5.0489)
Luminance0.0339 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E183F #185E37
analogous
#5A185E #5E183F #5E181C
triadic
#5E183F #3F5E18 #183F5E
tetradic
#5E183F #5E5A18 #185E37 #181C5E
square
#5E183F #5E5A18 #185E37 #181C5E
split-complementary
#5E183F #1C5E18 #185E5A
monochromatic
#180610 #2D0C1E #5E183F #8F2460 #C03180

Accessibility & contrast

On white

12.51
#5E183F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5E183F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E183F
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E183F#FFFFFF#000000##FFFFFF
##5E183F1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232C40
Deuteranopia (green-blind)
#37383D
Tritanopia (blue-blind)
#651429
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e183f;
/* rgb */ color: rgb(94, 24, 63);
/* oklch */ color: oklch(33.8% 0.110 350.3);
Tailwind
colors: {
  custom: {
    50: '#8f5b74',
    500: '#5e183f',
    950: '#000000',
  },
}
SCSS
$custom: #5e183f;
$custom-light: #8f5b74;
$custom-dark: #000000;
JSON
{
  "hex": "#5e183f",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 63
  },
  "hsl": {
    "h": 326.571,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33819,
    "c": 0.10966,
    "h": 350.3
  },
  "luminance": 0.03392
}

Semantic roles & 50–950 ramp

primary
#5E183F
secondary
#3D9464
accent
#E38B45
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E183F

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

Preview Lab → · Contrast checker → · Palette generator →

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