#5D1232#5D1232

#5D1232 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.110 H 359.7°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#5D1232
RGBrgb(93, 18, 50)
HSLhsl(334, 68%, 22%)
HSVhsv(334, 81%, 36%)
CMYKcmyk(0%, 80.6%, 46.2%, 63.5%)
CIE-LABlab(20.01, 35.90, -0.37)
CIE-LCHlch(20.01, 35.90, 359.41°)
OKLaboklab(32.49% 0.1102 -0.0005)
OKLCHoklch(32.49% 0.11 359.7)
XYZxyz(5.3066, 2.9907, 3.3148)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1232 #125D3D
analogous
#5D1258 #5D1232 #5D1812
triadic
#5D1232 #325D12 #12325D
tetradic
#5D1232 #585D12 #125D3D #18125D
square
#5D1232 #585D12 #125D3D #18125D
split-complementary
#5D1232 #125D18 #12585D
monochromatic
#1A050E #2A0816 #5D1232 #901C4E #C42669

Accessibility & contrast

On white

13.14
#5D1232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5D1232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1232
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1232#FFFFFF#000000##FFFFFF
##5D12321.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232733
Deuteranopia (green-blind)
#373530
Tritanopia (blue-blind)
#650620
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5d1232;
/* rgb */ color: rgb(93, 18, 50);
/* oklch */ color: oklch(32.5% 0.110 359.7);
Tailwind
colors: {
  custom: {
    50: '#8f5869',
    500: '#5d1232',
    950: '#000000',
  },
}
SCSS
$custom: #5d1232;
$custom-light: #8f5869;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1232",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 50
  },
  "hsl": {
    "h": 334.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32485,
    "c": 0.11023,
    "h": 359.7
  },
  "luminance": 0.0299
}

Semantic roles & 50–950 ramp

primary
#5D1232
secondary
#35956C
accent
#EAA13D
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5D1232

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

Preview Lab → · Contrast checker → · Palette generator →

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