#5A123D#5A123D

#5A123D is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.4% C 0.113 H 348.7°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#5A123D
RGBrgb(90, 18, 61)
HSLhsl(324, 67%, 21%)
HSVhsv(324, 80%, 35%)
CMYKcmyk(0%, 80%, 32.2%, 64.7%)
CIE-LABlab(19.82, 36.34, -8.43)
CIE-LCHlch(19.82, 37.30, 346.95°)
OKLaboklab(32.37% 0.1109 -0.0221)
OKLCHoklch(32.37% 0.113 348.7)
XYZxyz(5.2753, 2.9438, 4.7044)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A123D #125A2F
analogous
#53125A #5A123D #5A1219
triadic
#5A123D #3D5A12 #123D5A
tetradic
#5A123D #5A5312 #125A2F #12195A
square
#5A123D #5A5312 #125A2F #12195A
split-complementary
#5A123D #195A12 #125A53
monochromatic
#1A0511 #27081A #5A123D #8D1C60 #C02682

Accessibility & contrast

On white

13.22
#5A123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5A123D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A123D
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A123D#FFFFFF#000000##FFFFFF
##5A123D1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D283E
Deuteranopia (green-blind)
#32343B
Tritanopia (blue-blind)
#610E25
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a123d;
/* rgb */ color: rgb(90, 18, 61);
/* oklch */ color: oklch(32.4% 0.113 348.7);
Tailwind
colors: {
  custom: {
    50: '#8c5872',
    500: '#5a123d',
    950: '#000000',
  },
}
SCSS
$custom: #5a123d;
$custom-light: #8c5872;
$custom-dark: #000000;
JSON
{
  "hex": "#5a123d",
  "rgb": {
    "r": 90,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 324.167,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32373,
    "c": 0.11303,
    "h": 348.7
  },
  "luminance": 0.02943
}

Semantic roles & 50–950 ramp

primary
#5A123D
secondary
#35935B
accent
#EA833E
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5A123D

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

Preview Lab → · Contrast checker → · Palette generator →

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