#5A0E27#5A0E27

#5A0E27 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.2% C 0.108 H 7.1°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#5A0E27
RGBrgb(90, 14, 39)
HSLhsl(340, 73%, 20%)
HSVhsv(340, 84%, 35%)
CMYKcmyk(0%, 84.4%, 56.7%, 64.7%)
CIE-LABlab(18.52, 35.26, 5.22)
CIE-LCHlch(18.52, 35.64, 8.43°)
OKLaboklab(31.16% 0.1075 0.0135)
OKLCHoklch(31.16% 0.108 7.1)
XYZxyz(4.7401, 2.6349, 2.1780)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0E27 #0E5A41
analogous
#5A0E4D #5A0E27 #5A1B0E
triadic
#5A0E27 #275A0E #0E275A
tetradic
#5A0E27 #4D5A0E #0E5A41 #1B0E5A
square
#5A0E27 #4D5A0E #0E5A41 #1B0E5A
split-complementary
#5A0E27 #0E5A1B #0E4D5A
monochromatic
#1A040B #250610 #5A0E27 #8F163E #C41E55

Accessibility & contrast

On white

13.75
#5A0E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#5A0E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A0E27
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0E27#FFFFFF#000000##FFFFFF
##5A0E271.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222327
Deuteranopia (green-blind)
#363325
Tritanopia (blue-blind)
#630019
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a0e27;
/* rgb */ color: rgb(90, 14, 39);
/* oklch */ color: oklch(31.2% 0.108 7.1);
Tailwind
colors: {
  custom: {
    50: '#8d5560',
    500: '#5a0e27',
    950: '#000000',
  },
}
SCSS
$custom: #5a0e27;
$custom-light: #8d5560;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0e27",
  "rgb": {
    "r": 90,
    "g": 14,
    "b": 39
  },
  "hsl": {
    "h": 340.263,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31159,
    "c": 0.10838,
    "h": 7.1
  },
  "luminance": 0.02634
}

Semantic roles & 50–950 ramp

primary
#5A0E27
secondary
#309473
accent
#F0B338
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5A0E27

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

Preview Lab → · Contrast checker → · Palette generator →

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