#5D123C#5D123C

#5D123C is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.115 H 351.2°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#5D123C
RGBrgb(93, 18, 60)
HSLhsl(326, 68%, 22%)
HSVhsv(326, 81%, 36%)
CMYKcmyk(0%, 80.6%, 35.5%, 63.5%)
CIE-LABlab(20.39, 37.09, -6.81)
CIE-LCHlch(20.39, 37.71, 349.60°)
OKLaboklab(32.89% 0.1136 -0.0177)
OKLCHoklch(32.89% 0.115 351.2)
XYZxyz(5.5464, 3.0867, 4.5778)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D123C #125D33
analogous
#59125D #5D123C #5D1217
triadic
#5D123C #3C5D12 #123C5D
tetradic
#5D123C #5D5912 #125D33 #12175D
square
#5D123C #5D5912 #125D33 #12175D
split-complementary
#5D123C #175D12 #125D59
monochromatic
#1A0511 #2A081B #5D123C #901C5D #C4267E

Accessibility & contrast

On white

12.99
#5D123C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D123C
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D123C#FFFFFF#000000##FFFFFF
##5D123C1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F293D
Deuteranopia (green-blind)
#35363A
Tritanopia (blue-blind)
#650C25
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d123c;
/* rgb */ color: rgb(93, 18, 60);
/* oklch */ color: oklch(32.9% 0.115 351.2);
Tailwind
colors: {
  custom: {
    50: '#8e5871',
    500: '#5d123c',
    950: '#000000',
  },
}
SCSS
$custom: #5d123c;
$custom-light: #8e5871;
$custom-dark: #000000;
JSON
{
  "hex": "#5d123c",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 60
  },
  "hsl": {
    "h": 326.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32889,
    "c": 0.11494,
    "h": 351.2
  },
  "luminance": 0.03086
}

Semantic roles & 50–950 ramp

primary
#5D123C
secondary
#359560
accent
#EA8A3D
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5D123C

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

Preview Lab → · Contrast checker → · Palette generator →

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