#5A0F22#5A0F22

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

Color values

HEX#5A0F22
RGBrgb(90, 15, 34)
HSLhsl(345, 71%, 21%)
HSVhsv(345, 83%, 35%)
CMYKcmyk(0%, 83.3%, 62.2%, 64.7%)
CIE-LABlab(18.50, 34.50, 8.78)
CIE-LCHlch(18.50, 35.60, 14.28°)
OKLaboklab(31.1% 0.1043 0.0219)
OKLCHoklch(31.1% 0.107 11.8)
XYZxyz(4.6765, 2.6315, 1.7747)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F22 #0F5A47
analogous
#5A0F47 #5A0F22 #5A210F
triadic
#5A0F22 #225A0F #0F225A
tetradic
#5A0F22 #475A0F #0F5A47 #210F5A
square
#5A0F22 #475A0F #0F5A47 #210F5A
split-complementary
#5A0F22 #0F5A21 #0F475A
monochromatic
#1A040A #26060E #5A0F22 #8E1836 #C3204A

Accessibility & contrast

On white

13.76
#5A0F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A0F22
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0F22#FFFFFF#000000##FFFFFF
##5A0F221.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242322
Deuteranopia (green-blind)
#373320
Tritanopia (blue-blind)
#630017
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a0f22;
/* rgb */ color: rgb(90, 15, 34);
/* oklch */ color: oklch(31.1% 0.107 11.8);
Tailwind
colors: {
  custom: {
    50: '#8e565c',
    500: '#5a0f22',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f22;
$custom-light: #8e565c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f22",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 34
  },
  "hsl": {
    "h": 344.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31104,
    "c": 0.10652,
    "h": 11.8
  },
  "luminance": 0.02631
}

Semantic roles & 50–950 ramp

primary
#5A0F22
secondary
#31947B
accent
#EEC03A
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5A0F22

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

Preview Lab → · Contrast checker → · Palette generator →

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