#5E102A#5E102A

#5E102A is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.2% C 0.111 H 6.6°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#5E102A
RGBrgb(94, 16, 42)
HSLhsl(340, 71%, 22%)
HSVhsv(340, 83%, 37%)
CMYKcmyk(0%, 83%, 55.3%, 63.1%)
CIE-LABlab(19.71, 36.12, 4.89)
CIE-LCHlch(19.71, 36.45, 7.72°)
OKLaboklab(32.22% 0.1102 0.0127)
OKLCHoklch(32.22% 0.111 6.6)
XYZxyz(5.2198, 2.9182, 2.4784)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E102A #105E44
analogous
#5E1051 #5E102A #5E1D10
triadic
#5E102A #2A5E10 #102A5E
tetradic
#5E102A #515E10 #105E44 #1D105E
square
#5E102A #515E10 #105E44 #1D105E
split-complementary
#5E102A #105E1D #10515E
monochromatic
#1A040C #2A0713 #5E102A #921941 #C72259

Accessibility & contrast

On white

13.26
#5E102A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5E102A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E102A
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E102A#FFFFFF#000000##FFFFFF
##5E102A1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24262B
Deuteranopia (green-blind)
#393528
Tritanopia (blue-blind)
#67001B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5e102a;
/* rgb */ color: rgb(94, 16, 42);
/* oklch */ color: oklch(32.2% 0.111 6.6);
Tailwind
colors: {
  custom: {
    50: '#905763',
    500: '#5e102a',
    950: '#000000',
  },
}
SCSS
$custom: #5e102a;
$custom-light: #905763;
$custom-dark: #000000;
JSON
{
  "hex": "#5e102a",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 42
  },
  "hsl": {
    "h": 340,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32224,
    "c": 0.11097,
    "h": 6.6
  },
  "luminance": 0.02917
}

Semantic roles & 50–950 ramp

primary
#5E102A
secondary
#339776
accent
#EEB23A
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5E102A

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

Preview Lab → · Contrast checker → · Palette generator →

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