#5D1833#5D1833

#5D1833 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.103 H 0.6°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#5D1833
RGBrgb(93, 24, 51)
HSLhsl(337, 59%, 23%)
HSVhsv(337, 74%, 36%)
CMYKcmyk(0%, 74.2%, 45.2%, 63.5%)
CIE-LABlab(20.90, 33.60, 0.24)
CIE-LCHlch(20.90, 33.60, 0.41°)
OKLaboklab(33.16% 0.1029 0.001)
OKLCHoklch(33.16% 0.103 0.6)
XYZxyz(5.4388, 3.2201, 3.4665)
Luminance0.0322 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1833 #185D42
analogous
#5D1855 #5D1833 #5D2018
triadic
#5D1833 #335D18 #18335D
tetradic
#5D1833 #555D18 #185D42 #20185D
square
#5D1833 #555D18 #185D42 #20185D
split-complementary
#5D1833 #185D20 #18555D
monochromatic
#18060D #2C0B18 #5D1833 #8E254E #BE3168

Accessibility & contrast

On white

12.78
#5D1833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5D1833 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1833
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1833#FFFFFF#000000##FFFFFF
##5D18331.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262A34
Deuteranopia (green-blind)
#393731
Tritanopia (blue-blind)
#650F23
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d1833;
/* rgb */ color: rgb(93, 24, 51);
/* oklch */ color: oklch(33.2% 0.103 0.6);
Tailwind
colors: {
  custom: {
    50: '#8f5b6a',
    500: '#5d1833',
    950: '#000000',
  },
}
SCSS
$custom: #5d1833;
$custom-light: #8f5b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1833",
  "rgb": {
    "r": 93,
    "g": 24,
    "b": 51
  },
  "hsl": {
    "h": 336.522,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33158,
    "c": 0.10293,
    "h": 0.6
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#5D1833
secondary
#3D9372
accent
#E2A546
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5D1833

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

Preview Lab → · Contrast checker → · Palette generator →

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