#5D1226#5D1226

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

Color values

HEX#5D1226
RGBrgb(93, 18, 38)
HSLhsl(344, 68%, 22%)
HSVhsv(344, 81%, 36%)
CMYKcmyk(0%, 80.6%, 59.1%, 63.5%)
CIE-LABlab(19.64, 34.73, 7.60)
CIE-LCHlch(19.64, 35.55, 12.34°)
OKLaboklab(32.1% 0.1053 0.0192)
OKLCHoklch(32.1% 0.107 10.3)
XYZxyz(5.0808, 2.9004, 2.1256)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1226 #125D49
analogous
#5D124C #5D1226 #5D2412
triadic
#5D1226 #265D12 #12265D
tetradic
#5D1226 #4C5D12 #125D49 #24125D
square
#5D1226 #4C5D12 #125D49 #24125D
split-complementary
#5D1226 #125D24 #124C5D
monochromatic
#1A050A #2A0811 #5D1226 #901C3B #C42650

Accessibility & contrast

On white

13.29
#5D1226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1226
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1226#FFFFFF#000000##FFFFFF
##5D12261.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262626
Deuteranopia (green-blind)
#393524
Tritanopia (blue-blind)
#66001A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5d1226;
/* rgb */ color: rgb(93, 18, 38);
/* oklch */ color: oklch(32.1% 0.107 10.3);
Tailwind
colors: {
  custom: {
    50: '#905860',
    500: '#5d1226',
    950: '#000000',
  },
}
SCSS
$custom: #5d1226;
$custom-light: #905860;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1226",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 38
  },
  "hsl": {
    "h": 344,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32096,
    "c": 0.10703,
    "h": 10.3
  },
  "luminance": 0.029
}

Semantic roles & 50–950 ramp

primary
#5D1226
secondary
#35957C
accent
#EABC3D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0404
muted
#7E7979

Preview Lab

Preview with #5D1226

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

Preview Lab → · Contrast checker → · Palette generator →

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