#5A1129#5A1129

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

Color values

HEX#5A1129
RGBrgb(90, 17, 41)
HSLhsl(340, 68%, 21%)
HSVhsv(340, 81%, 35%)
CMYKcmyk(0%, 81.1%, 54.4%, 64.7%)
CIE-LABlab(18.95, 34.39, 4.41)
CIE-LCHlch(18.95, 34.67, 7.30°)
OKLaboklab(31.5% 0.105 0.0115)
OKLCHoklch(31.5% 0.106 6.2)
XYZxyz(4.8176, 2.7353, 2.3717)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1129 #115A42
analogous
#5A114D #5A1129 #5A1D11
triadic
#5A1129 #295A11 #11295A
tetradic
#5A1129 #4D5A11 #115A42 #1D115A
square
#5A1129 #4D5A11 #115A42 #1D115A
split-complementary
#5A1129 #115A1D #114D5A
monochromatic
#1A050C #270712 #5A1129 #8D1B40 #C12458

Accessibility & contrast

On white

13.57
#5A1129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#5A1129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1129
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1129#FFFFFF#000000##FFFFFF
##5A11291.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232529
Deuteranopia (green-blind)
#363327
Tritanopia (blue-blind)
#63021B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a1129;
/* rgb */ color: rgb(90, 17, 41);
/* oklch */ color: oklch(31.5% 0.106 6.2);
Tailwind
colors: {
  custom: {
    50: '#8d5762',
    500: '#5a1129',
    950: '#000000',
  },
}
SCSS
$custom: #5a1129;
$custom-light: #8d5762;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1129",
  "rgb": {
    "r": 90,
    "g": 17,
    "b": 41
  },
  "hsl": {
    "h": 340.274,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31498,
    "c": 0.10561,
    "h": 6.2
  },
  "luminance": 0.02735
}

Semantic roles & 50–950 ramp

primary
#5A1129
secondary
#349374
accent
#EBB23D
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5A1129

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

Preview Lab → · Contrast checker → · Palette generator →

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