#5A0F23#5A0F23

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

Color values

HEX#5A0F23
RGBrgb(90, 15, 35)
HSLhsl(344, 71%, 21%)
HSVhsv(344, 83%, 35%)
CMYKcmyk(0%, 83.3%, 61.1%, 64.7%)
CIE-LABlab(18.53, 34.58, 8.10)
CIE-LCHlch(18.53, 35.51, 13.18°)
OKLaboklab(31.13% 0.1047 0.0203)
OKLCHoklch(31.13% 0.107 11)
XYZxyz(4.6911, 2.6373, 1.8518)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F23 #0F5A46
analogous
#5A0F48 #5A0F23 #5A200F
triadic
#5A0F23 #235A0F #0F235A
tetradic
#5A0F23 #485A0F #0F5A46 #200F5A
square
#5A0F23 #485A0F #0F5A46 #200F5A
split-complementary
#5A0F23 #0F5A20 #0F485A
monochromatic
#1A040A #26060F #5A0F23 #8E1837 #C3204C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A0F23#FFFFFF#000000##FFFFFF
##5A0F231.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)
#232323
Deuteranopia (green-blind)
#373321
Tritanopia (blue-blind)
#630018
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a0f23;
/* rgb */ color: rgb(90, 15, 35);
/* oklch */ color: oklch(31.1% 0.107 11.0);
Tailwind
colors: {
  custom: {
    50: '#8e565d',
    500: '#5a0f23',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f23;
$custom-light: #8e565d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f23",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 35
  },
  "hsl": {
    "h": 344,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31132,
    "c": 0.10665,
    "h": 11
  },
  "luminance": 0.02637
}

Semantic roles & 50–950 ramp

primary
#5A0F23
secondary
#319479
accent
#EEBE3A
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5A0F23

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

Preview Lab → · Contrast checker → · Palette generator →

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