#5D122B#5D122B

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

Color values

HEX#5D122B
RGBrgb(93, 18, 43)
HSLhsl(340, 68%, 22%)
HSVhsv(340, 81%, 36%)
CMYKcmyk(0%, 80.6%, 53.8%, 63.5%)
CIE-LABlab(19.78, 35.18, 4.25)
CIE-LCHlch(19.78, 35.44, 6.89°)
OKLaboklab(32.25% 0.1075 0.0111)
OKLCHoklch(32.25% 0.108 5.9)
XYZxyz(5.1670, 2.9349, 2.5794)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D122B #125D44
analogous
#5D1251 #5D122B #5D1F12
triadic
#5D122B #2B5D12 #122B5D
tetradic
#5D122B #515D12 #125D44 #1F125D
square
#5D122B #515D12 #125D44 #1F125D
split-complementary
#5D122B #125D1F #12515D
monochromatic
#1A050C #2A0813 #5D122B #901C43 #C4265A

Accessibility & contrast

On white

13.23
#5D122B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D122B
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D122B#FFFFFF#000000##FFFFFF
##5D122B1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25262C
Deuteranopia (green-blind)
#383529
Tritanopia (blue-blind)
#66021D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5d122b;
/* rgb */ color: rgb(93, 18, 43);
/* oklch */ color: oklch(32.2% 0.108 5.9);
Tailwind
colors: {
  custom: {
    50: '#8f5864',
    500: '#5d122b',
    950: '#000000',
  },
}
SCSS
$custom: #5d122b;
$custom-light: #8f5864;
$custom-dark: #000000;
JSON
{
  "hex": "#5d122b",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 43
  },
  "hsl": {
    "h": 340,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32246,
    "c": 0.10802,
    "h": 5.9
  },
  "luminance": 0.02934
}

Semantic roles & 50–950 ramp

primary
#5D122B
secondary
#359575
accent
#EAB13D
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5D122B

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

Preview Lab → · Contrast checker → · Palette generator →

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