#5D123D#5D123D

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

Color values

HEX#5D123D
RGBrgb(93, 18, 61)
HSLhsl(326, 68%, 22%)
HSVhsv(326, 81%, 36%)
CMYKcmyk(0%, 80.6%, 34.4%, 63.5%)
CIE-LABlab(20.43, 37.22, -7.44)
CIE-LCHlch(20.43, 37.96, 348.70°)
OKLaboklab(32.93% 0.1139 -0.0194)
OKLCHoklch(32.93% 0.116 350.3)
XYZxyz(5.5731, 3.0973, 4.7183)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D123D #125D32
analogous
#58125D #5D123D #5D1218
triadic
#5D123D #3D5D12 #123D5D
tetradic
#5D123D #5D5812 #125D32 #12185D
square
#5D123D #5D5812 #125D32 #12185D
split-complementary
#5D123D #185D12 #125D58
monochromatic
#1A0511 #2A081B #5D123D #901C5F #C42680

Accessibility & contrast

On white

12.97
#5D123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D123D
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D123D#FFFFFF#000000##FFFFFF
##5D123D1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F293E
Deuteranopia (green-blind)
#34363B
Tritanopia (blue-blind)
#640D25
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d123d;
/* rgb */ color: rgb(93, 18, 61);
/* oklch */ color: oklch(32.9% 0.116 350.3);
Tailwind
colors: {
  custom: {
    50: '#8e5872',
    500: '#5d123d',
    950: '#000000',
  },
}
SCSS
$custom: #5d123d;
$custom-light: #8e5872;
$custom-dark: #000000;
JSON
{
  "hex": "#5d123d",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 325.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32933,
    "c": 0.1155,
    "h": 350.3
  },
  "luminance": 0.03097
}

Semantic roles & 50–950 ramp

primary
#5D123D
secondary
#35955E
accent
#EA873D
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5D123D

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

Preview Lab → · Contrast checker → · Palette generator →

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