#5A0D29#5A0D29

#5A0D29 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.1% C 0.110 H 5.1°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#5A0D29
RGBrgb(90, 13, 41)
HSLhsl(338, 75%, 20%)
HSVhsv(338, 86%, 35%)
CMYKcmyk(0%, 85.6%, 54.4%, 64.7%)
CIE-LABlab(18.46, 35.77, 3.71)
CIE-LCHlch(18.46, 35.96, 5.93°)
OKLaboklab(31.14% 0.1094 0.0098)
OKLCHoklch(31.14% 0.11 5.1)
XYZxyz(4.7610, 2.6223, 2.3528)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0D29 #0D5A3E
analogous
#5A0D4F #5A0D29 #5A180D
triadic
#5A0D29 #295A0D #0D295A
tetradic
#5A0D29 #4F5A0D #0D5A3E #180D5A
square
#5A0D29 #4F5A0D #0D5A3E #180D5A
split-complementary
#5A0D29 #0D5A18 #0D4F5A
monochromatic
#1B040C #250511 #5A0D29 #8F1541 #C51C5A

Accessibility & contrast

On white

13.78
#5A0D29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#5A0D29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A0D29
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0D29#FFFFFF#000000##FFFFFF
##5A0D291.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21232A
Deuteranopia (green-blind)
#353227
Tritanopia (blue-blind)
#630019
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a0d29;
/* rgb */ color: rgb(90, 13, 41);
/* oklch */ color: oklch(31.1% 0.110 5.1);
Tailwind
colors: {
  custom: {
    50: '#8d5562',
    500: '#5a0d29',
    950: '#000000',
  },
}
SCSS
$custom: #5a0d29;
$custom-light: #8d5562;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0d29",
  "rgb": {
    "r": 90,
    "g": 13,
    "b": 41
  },
  "hsl": {
    "h": 338.182,
    "s": 74.757,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31138,
    "c": 0.10987,
    "h": 5.1
  },
  "luminance": 0.02622
}

Semantic roles & 50–950 ramp

primary
#5A0D29
secondary
#2E946F
accent
#F1AD36
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5A0D29

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

Preview Lab → · Contrast checker → · Palette generator →

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