#5E102F#5E102F

#5E102F is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.112 H 2.3°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#5E102F
RGBrgb(94, 16, 47)
HSLhsl(336, 71%, 22%)
HSVhsv(336, 83%, 37%)
CMYKcmyk(0%, 83%, 50%, 63.1%)
CIE-LABlab(19.87, 36.60, 1.57)
CIE-LCHlch(19.87, 36.63, 2.46°)
OKLaboklab(32.39% 0.1123 0.0044)
OKLCHoklch(32.39% 0.112 2.3)
XYZxyz(5.3149, 2.9562, 2.9795)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E102F #105E3F
analogous
#5E1056 #5E102F #5E1810
triadic
#5E102F #2F5E10 #102F5E
tetradic
#5E102F #565E10 #105E3F #18105E
square
#5E102F #565E10 #105E3F #18105E
split-complementary
#5E102F #105E18 #10565E
monochromatic
#1A040D #2A0715 #5E102F #921949 #C72263

Accessibility & contrast

On white

13.20
#5E102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5E102F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E102F
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E102F#FFFFFF#000000##FFFFFF
##5E102F1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232630
Deuteranopia (green-blind)
#38352D
Tritanopia (blue-blind)
#67011E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5e102f;
/* rgb */ color: rgb(94, 16, 47);
/* oklch */ color: oklch(32.4% 0.112 2.3);
Tailwind
colors: {
  custom: {
    50: '#905767',
    500: '#5e102f',
    950: '#000000',
  },
}
SCSS
$custom: #5e102f;
$custom-light: #905767;
$custom-dark: #000000;
JSON
{
  "hex": "#5e102f",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 336.154,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32389,
    "c": 0.11236,
    "h": 2.3
  },
  "luminance": 0.02956
}

Semantic roles & 50–950 ramp

primary
#5E102F
secondary
#33976F
accent
#EEA63A
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5E102F

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

Preview Lab → · Contrast checker → · Palette generator →

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