#5D1227#5D1227

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

Color values

HEX#5D1227
RGBrgb(93, 18, 39)
HSLhsl(343, 68%, 22%)
HSVhsv(343, 81%, 36%)
CMYKcmyk(0%, 80.6%, 58.1%, 63.5%)
CIE-LABlab(19.67, 34.81, 6.93)
CIE-LCHlch(19.67, 35.50, 11.25°)
OKLaboklab(32.12% 0.1057 0.0176)
OKLCHoklch(32.12% 0.107 9.5)
XYZxyz(5.0972, 2.9070, 2.2118)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1227 #125D48
analogous
#5D124D #5D1227 #5D2312
triadic
#5D1227 #275D12 #12275D
tetradic
#5D1227 #4D5D12 #125D48 #23125D
square
#5D1227 #4D5D12 #125D48 #23125D
split-complementary
#5D1227 #125D23 #124D5D
monochromatic
#1A050B #2A0811 #5D1227 #901C3D #C42652

Accessibility & contrast

On white

13.28
#5D1227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1227
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1227#FFFFFF#000000##FFFFFF
##5D12271.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252627
Deuteranopia (green-blind)
#393525
Tritanopia (blue-blind)
#66001B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5d1227;
/* rgb */ color: rgb(93, 18, 39);
/* oklch */ color: oklch(32.1% 0.107 9.5);
Tailwind
colors: {
  custom: {
    50: '#905860',
    500: '#5d1227',
    950: '#000000',
  },
}
SCSS
$custom: #5d1227;
$custom-light: #905860;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1227",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 39
  },
  "hsl": {
    "h": 343.2,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32124,
    "c": 0.10719,
    "h": 9.5
  },
  "luminance": 0.02906
}

Semantic roles & 50–950 ramp

primary
#5D1227
secondary
#35957B
accent
#EABA3D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5D1227

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

Preview Lab → · Contrast checker → · Palette generator →

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