#5A0E23#5A0E23

#5A0E23 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.0% C 0.108 H 10.7°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#5A0E23
RGBrgb(90, 14, 35)
HSLhsl(343, 73%, 20%)
HSVhsv(343, 84%, 35%)
CMYKcmyk(0%, 84.4%, 61.1%, 64.7%)
CIE-LABlab(18.41, 34.92, 7.93)
CIE-LCHlch(18.41, 35.81, 12.80°)
OKLaboklab(31.04% 0.1058 0.0199)
OKLCHoklch(31.04% 0.108 10.7)
XYZxyz(4.6773, 2.6098, 1.8472)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0E23 #0E5A45
analogous
#5A0E49 #5A0E23 #5A1F0E
triadic
#5A0E23 #235A0E #0E235A
tetradic
#5A0E23 #495A0E #0E5A45 #1F0E5A
square
#5A0E23 #495A0E #0E5A45 #1F0E5A
split-complementary
#5A0E23 #0E5A1F #0E495A
monochromatic
#1A040A #25060E #5A0E23 #8F1638 #C41E4C

Accessibility & contrast

On white

13.80
#5A0E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A0E23
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0E23#FFFFFF#000000##FFFFFF
##5A0E231.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a0e23;
/* rgb */ color: rgb(90, 14, 35);
/* oklch */ color: oklch(31.0% 0.108 10.7);
Tailwind
colors: {
  custom: {
    50: '#8e555d',
    500: '#5a0e23',
    950: '#000000',
  },
}
SCSS
$custom: #5a0e23;
$custom-light: #8e555d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0e23",
  "rgb": {
    "r": 90,
    "g": 14,
    "b": 35
  },
  "hsl": {
    "h": 343.421,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31042,
    "c": 0.10766,
    "h": 10.7
  },
  "luminance": 0.02609
}

Semantic roles & 50–950 ramp

primary
#5A0E23
secondary
#309478
accent
#F0BD38
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5A0E23

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

Preview Lab → · Contrast checker → · Palette generator →

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