#5D123F#5D123F

#5D123F is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.0% C 0.117 H 348.7°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#5D123F
RGBrgb(93, 18, 63)
HSLhsl(324, 68%, 22%)
HSVhsv(324, 81%, 36%)
CMYKcmyk(0%, 80.6%, 32.3%, 63.5%)
CIE-LABlab(20.52, 37.49, -8.70)
CIE-LCHlch(20.52, 38.48, 346.94°)
OKLaboklab(33.02% 0.1144 -0.0228)
OKLCHoklch(33.02% 0.117 348.7)
XYZxyz(5.6280, 3.1193, 5.0074)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D123F #125D30
analogous
#56125D #5D123F #5D121A
triadic
#5D123F #3F5D12 #123F5D
tetradic
#5D123F #5D5612 #125D30 #121A5D
square
#5D123F #5D5612 #125D30 #121A5D
split-complementary
#5D123F #1A5D12 #125D56
monochromatic
#1A0511 #2A081C #5D123F #901C62 #C42684

Accessibility & contrast

On white

12.93
#5D123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5D123F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D123F
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D123F#FFFFFF#000000##FFFFFF
##5D123F1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2940
Deuteranopia (green-blind)
#34363D
Tritanopia (blue-blind)
#640E26
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d123f;
/* rgb */ color: rgb(93, 18, 63);
/* oklch */ color: oklch(33.0% 0.117 348.7);
Tailwind
colors: {
  custom: {
    50: '#8e5874',
    500: '#5d123f',
    950: '#000000',
  },
}
SCSS
$custom: #5d123f;
$custom-light: #8e5874;
$custom-dark: #000000;
JSON
{
  "hex": "#5d123f",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 324,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33024,
    "c": 0.11667,
    "h": 348.7
  },
  "luminance": 0.03119
}

Semantic roles & 50–950 ramp

primary
#5D123F
secondary
#35955C
accent
#EA833D
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5D123F

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

Preview Lab → · Contrast checker → · Palette generator →

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