#5D122A#5D122A

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

Color values

HEX#5D122A
RGBrgb(93, 18, 42)
HSLhsl(341, 68%, 22%)
HSVhsv(341, 81%, 36%)
CMYKcmyk(0%, 80.6%, 54.8%, 63.5%)
CIE-LABlab(19.75, 35.09, 4.92)
CIE-LCHlch(19.75, 35.43, 7.98°)
OKLaboklab(32.21% 0.107 0.0128)
OKLCHoklch(32.21% 0.108 6.8)
XYZxyz(5.1489, 2.9276, 2.4840)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D122A #125D45
analogous
#5D1250 #5D122A #5D2012
triadic
#5D122A #2A5D12 #122A5D
tetradic
#5D122A #505D12 #125D45 #20125D
square
#5D122A #505D12 #125D45 #20125D
split-complementary
#5D122A #125D20 #12505D
monochromatic
#1A050C #2A0813 #5D122A #901C41 #C42658

Accessibility & contrast

On white

13.25
#5D122A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D122A
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D122A#FFFFFF#000000##FFFFFF
##5D122A1.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d122a;
/* rgb */ color: rgb(93, 18, 42);
/* oklch */ color: oklch(32.2% 0.108 6.8);
Tailwind
colors: {
  custom: {
    50: '#905863',
    500: '#5d122a',
    950: '#000000',
  },
}
SCSS
$custom: #5d122a;
$custom-light: #905863;
$custom-dark: #000000;
JSON
{
  "hex": "#5d122a",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 42
  },
  "hsl": {
    "h": 340.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32214,
    "c": 0.10779,
    "h": 6.8
  },
  "luminance": 0.02927
}

Semantic roles & 50–950 ramp

primary
#5D122A
secondary
#359577
accent
#EAB33D
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5D122A

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

Preview Lab → · Contrast checker → · Palette generator →

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