#5D123A#5D123A

#5D123A is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.114 H 352.8°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#5D123A
RGBrgb(93, 18, 58)
HSLhsl(328, 68%, 22%)
HSVhsv(328, 81%, 36%)
CMYKcmyk(0%, 80.6%, 37.6%, 63.5%)
CIE-LABlab(20.31, 36.84, -5.54)
CIE-LCHlch(20.31, 37.25, 351.45°)
OKLaboklab(32.8% 0.113 -0.0142)
OKLCHoklch(32.8% 0.114 352.8)
XYZxyz(5.4946, 3.0659, 4.3046)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D123A #125D35
analogous
#5B125D #5D123A #5D1215
triadic
#5D123A #3A5D12 #123A5D
tetradic
#5D123A #5D5B12 #125D35 #12155D
square
#5D123A #5D5B12 #125D35 #12155D
split-complementary
#5D123A #155D12 #125D5B
monochromatic
#1A0510 #2A081A #5D123A #901C5A #C4267A

Accessibility & contrast

On white

13.02
#5D123A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5D123A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D123A
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D123A#FFFFFF#000000##FFFFFF
##5D123A1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20283B
Deuteranopia (green-blind)
#353638
Tritanopia (blue-blind)
#650B24
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d123a;
/* rgb */ color: rgb(93, 18, 58);
/* oklch */ color: oklch(32.8% 0.114 352.8);
Tailwind
colors: {
  custom: {
    50: '#8f5870',
    500: '#5d123a',
    950: '#000000',
  },
}
SCSS
$custom: #5d123a;
$custom-light: #8f5870;
$custom-dark: #000000;
JSON
{
  "hex": "#5d123a",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 58
  },
  "hsl": {
    "h": 328,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32802,
    "c": 0.11386,
    "h": 352.8
  },
  "luminance": 0.03065
}

Semantic roles & 50–950 ramp

primary
#5D123A
secondary
#359562
accent
#EA8E3D
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5D123A

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

Preview Lab → · Contrast checker → · Palette generator →

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