#5A1023#5A1023

#5A1023 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.2% C 0.106 H 11.3°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#5A1023
RGBrgb(90, 16, 35)
HSLhsl(345, 70%, 21%)
HSVhsv(345, 82%, 35%)
CMYKcmyk(0%, 82.2%, 61.1%, 64.7%)
CIE-LABlab(18.65, 34.22, 8.27)
CIE-LCHlch(18.65, 35.21, 13.59°)
OKLaboklab(31.22% 0.1036 0.0207)
OKLCHoklch(31.22% 0.106 11.3)
XYZxyz(4.7056, 2.6663, 1.8566)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1023 #105A47
analogous
#5A1048 #5A1023 #5A2210
triadic
#5A1023 #235A10 #10235A
tetradic
#5A1023 #485A10 #105A47 #22105A
square
#5A1023 #485A10 #105A47 #22105A
split-complementary
#5A1023 #105A22 #10485A
monochromatic
#1A050A #26070F #5A1023 #8E1937 #C2224B

Accessibility & contrast

On white

13.70
#5A1023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1023
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1023#FFFFFF#000000##FFFFFF
##5A10231.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a1023;
/* rgb */ color: rgb(90, 16, 35);
/* oklch */ color: oklch(31.2% 0.106 11.3);
Tailwind
colors: {
  custom: {
    50: '#8e565d',
    500: '#5a1023',
    950: '#000000',
  },
}
SCSS
$custom: #5a1023;
$custom-light: #8e565d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1023",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 35
  },
  "hsl": {
    "h": 344.595,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31224,
    "c": 0.10561,
    "h": 11.3
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#5A1023
secondary
#33937A
accent
#EDBF3B
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5A1023

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

Preview Lab → · Contrast checker → · Palette generator →

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