#5D1228#5D1228

#5D1228 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.2% C 0.107 H 8.6°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#5D1228
RGBrgb(93, 18, 40)
HSLhsl(342, 68%, 22%)
HSVhsv(342, 81%, 36%)
CMYKcmyk(0%, 80.6%, 57%, 63.5%)
CIE-LABlab(19.69, 34.90, 6.25)
CIE-LCHlch(19.69, 35.46, 10.16°)
OKLaboklab(32.15% 0.1062 0.016)
OKLCHoklch(32.15% 0.107 8.6)
XYZxyz(5.1140, 2.9137, 2.3002)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1228 #125D47
analogous
#5D124E #5D1228 #5D2212
triadic
#5D1228 #285D12 #12285D
tetradic
#5D1228 #4E5D12 #125D47 #22125D
square
#5D1228 #4E5D12 #125D47 #22125D
split-complementary
#5D1228 #125D22 #124E5D
monochromatic
#1A050B #2A0812 #5D1228 #901C3E #C42654

Accessibility & contrast

On white

13.27
#5D1228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5D1228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1228
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1228#FFFFFF#000000##FFFFFF
##5D12281.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252628
Deuteranopia (green-blind)
#393526
Tritanopia (blue-blind)
#66011B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5d1228;
/* rgb */ color: rgb(93, 18, 40);
/* oklch */ color: oklch(32.2% 0.107 8.6);
Tailwind
colors: {
  custom: {
    50: '#905861',
    500: '#5d1228',
    950: '#000000',
  },
}
SCSS
$custom: #5d1228;
$custom-light: #905861;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1228",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 342.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32154,
    "c": 0.10737,
    "h": 8.6
  },
  "luminance": 0.02913
}

Semantic roles & 50–950 ramp

primary
#5D1228
secondary
#359579
accent
#EAB83D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5D1228

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

Preview Lab → · Contrast checker → · Palette generator →

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