#5D1128#5D1128

#5D1128 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.108 H 8.2°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#5D1128
RGBrgb(93, 17, 40)
HSLhsl(342, 69%, 22%)
HSVhsv(342, 82%, 36%)
CMYKcmyk(0%, 81.7%, 57%, 63.5%)
CIE-LABlab(19.57, 35.27, 6.07)
CIE-LCHlch(19.57, 35.79, 9.77°)
OKLaboklab(32.06% 0.1074 0.0156)
OKLCHoklch(32.06% 0.108 8.2)
XYZxyz(5.0981, 2.8820, 2.2949)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1128 #115D46
analogous
#5D114E #5D1128 #5D2011
triadic
#5D1128 #285D11 #11285D
tetradic
#5D1128 #4E5D11 #115D46 #20115D
square
#5D1128 #4E5D11 #115D46 #20115D
split-complementary
#5D1128 #115D20 #114E5D
monochromatic
#1A050B #290812 #5D1128 #911A3E #C42455

Accessibility & contrast

On white

13.32
#5D1128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5D1128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1128
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1128#FFFFFF#000000##FFFFFF
##5D11281.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252628
Deuteranopia (green-blind)
#383526
Tritanopia (blue-blind)
#66001B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5d1128;
/* rgb */ color: rgb(93, 17, 40);
/* oklch */ color: oklch(32.1% 0.108 8.2);
Tailwind
colors: {
  custom: {
    50: '#905761',
    500: '#5d1128',
    950: '#000000',
  },
}
SCSS
$custom: #5d1128;
$custom-light: #905761;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1128",
  "rgb": {
    "r": 93,
    "g": 17,
    "b": 40
  },
  "hsl": {
    "h": 341.842,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32058,
    "c": 0.10847,
    "h": 8.2
  },
  "luminance": 0.02881
}

Semantic roles & 50–950 ramp

primary
#5D1128
secondary
#349678
accent
#ECB73C
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5D1128

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

Preview Lab → · Contrast checker → · Palette generator →

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