#5A0F24#5A0F24

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

Color values

HEX#5A0F24
RGBrgb(90, 15, 36)
HSLhsl(343, 71%, 21%)
HSVhsv(343, 83%, 35%)
CMYKcmyk(0%, 83.3%, 60%, 64.7%)
CIE-LABlab(18.56, 34.66, 7.42)
CIE-LCHlch(18.56, 35.44, 12.09°)
OKLaboklab(31.16% 0.1051 0.0187)
OKLCHoklch(31.16% 0.107 10.1)
XYZxyz(4.7062, 2.6434, 1.9311)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F24 #0F5A45
analogous
#5A0F49 #5A0F24 #5A1F0F
triadic
#5A0F24 #245A0F #0F245A
tetradic
#5A0F24 #495A0F #0F5A45 #1F0F5A
square
#5A0F24 #495A0F #0F5A45 #1F0F5A
split-complementary
#5A0F24 #0F5A1F #0F495A
monochromatic
#1A040A #26060F #5A0F24 #8E1839 #C3204E

Accessibility & contrast

On white

13.74
#5A0F24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A0F24
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0F24#FFFFFF#000000##FFFFFF
##5A0F241.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232324
Deuteranopia (green-blind)
#373322
Tritanopia (blue-blind)
#630018
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a0f24;
/* rgb */ color: rgb(90, 15, 36);
/* oklch */ color: oklch(31.2% 0.107 10.1);
Tailwind
colors: {
  custom: {
    50: '#8e565e',
    500: '#5a0f24',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f24;
$custom-light: #8e565e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f24",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 36
  },
  "hsl": {
    "h": 343.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31159,
    "c": 0.10679,
    "h": 10.1
  },
  "luminance": 0.02643
}

Semantic roles & 50–950 ramp

primary
#5A0F24
secondary
#319478
accent
#EEBC3A
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5A0F24

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

Preview Lab → · Contrast checker → · Palette generator →

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