#5E1547#5E1547

#5E1547 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.9% C 0.119 H 343.4°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#5E1547
RGBrgb(94, 21, 71)
HSLhsl(319, 63%, 23%)
HSVhsv(319, 78%, 37%)
CMYKcmyk(0%, 77.7%, 24.5%, 63.1%)
CIE-LABlab(21.47, 37.80, -12.72)
CIE-LCHlch(21.47, 39.88, 341.40°)
OKLaboklab(33.88% 0.1139 -0.034)
OKLCHoklch(33.88% 0.119 343.4)
XYZxyz(6.0218, 3.3716, 6.2937)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1547 #155E2C
analogous
#50155E #5E1547 #5E1523
triadic
#5E1547 #475E15 #15475E
tetradic
#5E1547 #5E5015 #155E2C #15235E
square
#5E1547 #5E5015 #155E2C #15235E
split-complementary
#5E1547 #235E15 #155E50
monochromatic
#190613 #2C0A21 #5E1547 #90206D #C22B93

Accessibility & contrast

On white

12.54
#5E1547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1547
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1547#FFFFFF#000000##FFFFFF
##5E15471.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2C48
Deuteranopia (green-blind)
#333845
Tritanopia (blue-blind)
#64152C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e1547;
/* rgb */ color: rgb(94, 21, 71);
/* oklch */ color: oklch(33.9% 0.119 343.4);
Tailwind
colors: {
  custom: {
    50: '#8f5a7a',
    500: '#5e1547',
    950: '#000000',
  },
}
SCSS
$custom: #5e1547;
$custom-light: #8f5a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1547",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 71
  },
  "hsl": {
    "h": 318.904,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33879,
    "c": 0.11885,
    "h": 343.4
  },
  "luminance": 0.03371
}

Semantic roles & 50–950 ramp

primary
#5E1547
secondary
#399556
accent
#E77541
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E1547

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

Preview Lab → · Contrast checker → · Palette generator →

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