#5E134B#5E134B

#5E134B is a dark, vivid pink. Relative luminance 0.034; OKLCH L 33.9% C 0.124 H 340.3°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#5E134B
RGBrgb(94, 19, 75)
HSLhsl(315, 66%, 22%)
HSVhsv(315, 80%, 37%)
CMYKcmyk(0%, 79.8%, 20.2%, 63.1%)
CIE-LABlab(21.41, 39.15, -15.55)
CIE-LCHlch(21.41, 42.12, 338.34°)
OKLaboklab(33.9% 0.1169 -0.042)
OKLCHoklch(33.9% 0.124 340.3)
XYZxyz(6.1191, 3.3540, 6.9804)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E134B #135E26
analogous
#4C135E #5E134B #5E1326
triadic
#5E134B #4B5E13 #134B5E
tetradic
#5E134B #5E4C13 #135E26 #13265E
square
#5E134B #5E4C13 #135E26 #13265E
split-complementary
#5E134B #265E13 #135E4C
monochromatic
#190514 #2B0922 #5E134B #911D74 #C4289C

Accessibility & contrast

On white

12.57
#5E134B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E134B
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E134B#FFFFFF#000000##FFFFFF
##5E134B1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192C4D
Deuteranopia (green-blind)
#313849
Tritanopia (blue-blind)
#64152D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e134b;
/* rgb */ color: rgb(94, 19, 75);
/* oklch */ color: oklch(33.9% 0.124 340.3);
Tailwind
colors: {
  custom: {
    50: '#8f5a7d',
    500: '#5e134b',
    950: '#000000',
  },
}
SCSS
$custom: #5e134b;
$custom-light: #8f5a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e134b",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 75
  },
  "hsl": {
    "h": 315.2,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33896,
    "c": 0.12418,
    "h": 340.3
  },
  "luminance": 0.03353
}

Semantic roles & 50–950 ramp

primary
#5E134B
secondary
#37964F
accent
#E96A3F
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E134B

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

Preview Lab → · Contrast checker → · Palette generator →

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