#5E1830#5E1830

#5E1830 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.103 H 3.8°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#5E1830
RGBrgb(94, 24, 48)
HSLhsl(339, 59%, 23%)
HSVhsv(339, 74%, 37%)
CMYKcmyk(0%, 74.5%, 48.9%, 63.1%)
CIE-LABlab(21.01, 33.61, 2.51)
CIE-LCHlch(21.01, 33.70, 4.28°)
OKLaboklab(33.24% 0.1028 0.0068)
OKLCHoklch(33.24% 0.103 3.8)
XYZxyz(5.4767, 3.2471, 3.1341)
Luminance0.0325 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1830 #185E46
analogous
#5E1853 #5E1830 #5E2318
triadic
#5E1830 #305E18 #18305E
tetradic
#5E1830 #535E18 #185E46 #23185E
square
#5E1830 #535E18 #185E46 #23185E
split-complementary
#5E1830 #185E23 #18535E
monochromatic
#18060C #2D0C17 #5E1830 #8F2449 #C03162

Accessibility & contrast

On white

12.73
#5E1830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5E1830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1830
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1830#FFFFFF#000000##FFFFFF
##5E18301.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272A31
Deuteranopia (green-blind)
#3A382E
Tritanopia (blue-blind)
#670D22
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1830;
/* rgb */ color: rgb(94, 24, 48);
/* oklch */ color: oklch(33.2% 0.103 3.8);
Tailwind
colors: {
  custom: {
    50: '#905b68',
    500: '#5e1830',
    950: '#000000',
  },
}
SCSS
$custom: #5e1830;
$custom-light: #905b68;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1830",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 48
  },
  "hsl": {
    "h": 339.429,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33239,
    "c": 0.10298,
    "h": 3.8
  },
  "luminance": 0.03246
}

Semantic roles & 50–950 ramp

primary
#5E1830
secondary
#3D9477
accent
#E3AD45
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5E1830

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

Preview Lab → · Contrast checker → · Palette generator →

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