#5A0D2B#5A0D2B

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

Color values

HEX#5A0D2B
RGBrgb(90, 13, 43)
HSLhsl(337, 75%, 20%)
HSVhsv(337, 86%, 35%)
CMYKcmyk(0%, 85.6%, 52.2%, 64.7%)
CIE-LABlab(18.53, 35.96, 2.37)
CIE-LCHlch(18.53, 36.04, 3.77°)
OKLaboklab(31.21% 0.1102 0.0064)
OKLCHoklch(31.21% 0.11 3.3)
XYZxyz(4.7968, 2.6366, 2.5414)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0D2B #0D5A3C
analogous
#5A0D52 #5A0D2B #5A150D
triadic
#5A0D2B #2B5A0D #0D2B5A
tetradic
#5A0D2B #525A0D #0D5A3C #150D5A
square
#5A0D2B #525A0D #0D5A3C #150D5A
split-complementary
#5A0D2B #0D5A15 #0D525A
monochromatic
#1B040D #250511 #5A0D2B #8F1545 #C51C5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A0D2B#FFFFFF#000000##FFFFFF
##5A0D2B1.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)
#21242C
Deuteranopia (green-blind)
#353229
Tritanopia (blue-blind)
#63001A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a0d2b;
/* rgb */ color: rgb(90, 13, 43);
/* oklch */ color: oklch(31.2% 0.110 3.3);
Tailwind
colors: {
  custom: {
    50: '#8d5564',
    500: '#5a0d2b',
    950: '#000000',
  },
}
SCSS
$custom: #5a0d2b;
$custom-light: #8d5564;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0d2b",
  "rgb": {
    "r": 90,
    "g": 13,
    "b": 43
  },
  "hsl": {
    "h": 336.623,
    "s": 74.757,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31205,
    "c": 0.11043,
    "h": 3.3
  },
  "luminance": 0.02636
}

Semantic roles & 50–950 ramp

primary
#5A0D2B
secondary
#2E946D
accent
#F1A936
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5A0D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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