#5A0F29#5A0F29

#5A0F29 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.108 H 5.6°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#5A0F29
RGBrgb(90, 15, 41)
HSLhsl(339, 71%, 21%)
HSVhsv(339, 83%, 35%)
CMYKcmyk(0%, 83.3%, 54.4%, 64.7%)
CIE-LABlab(18.70, 35.10, 4.05)
CIE-LCHlch(18.70, 35.34, 6.57°)
OKLaboklab(31.31% 0.1073 0.0106)
OKLCHoklch(31.31% 0.108 5.6)
XYZxyz(4.7879, 2.6761, 2.3618)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F29 #0F5A40
analogous
#5A0F4E #5A0F29 #5A1A0F
triadic
#5A0F29 #295A0F #0F295A
tetradic
#5A0F29 #4E5A0F #0F5A40 #1A0F5A
square
#5A0F29 #4E5A0F #0F5A40 #1A0F5A
split-complementary
#5A0F29 #0F5A1A #0F4E5A
monochromatic
#1A040C #260611 #5A0F29 #8E1841 #C32059

Accessibility & contrast

On white

13.68
#5A0F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#5A0F29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A0F29
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0F29#FFFFFF#000000##FFFFFF
##5A0F291.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22242A
Deuteranopia (green-blind)
#363327
Tritanopia (blue-blind)
#63001A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a0f29;
/* rgb */ color: rgb(90, 15, 41);
/* oklch */ color: oklch(31.3% 0.108 5.6);
Tailwind
colors: {
  custom: {
    50: '#8d5662',
    500: '#5a0f29',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f29;
$custom-light: #8d5662;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f29",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 41
  },
  "hsl": {
    "h": 339.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3131,
    "c": 0.10781,
    "h": 5.6
  },
  "luminance": 0.02675
}

Semantic roles & 50–950 ramp

primary
#5A0F29
secondary
#319471
accent
#EEB03A
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5A0F29

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

Preview Lab → · Contrast checker → · Palette generator →

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