#5B0D27#5B0D27

#5B0D27 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.110 H 7.2°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#5B0D27
RGBrgb(91, 13, 39)
HSLhsl(340, 75%, 20%)
HSVhsv(340, 86%, 36%)
CMYKcmyk(0%, 85.7%, 57.1%, 64.3%)
CIE-LABlab(18.62, 35.89, 5.40)
CIE-LCHlch(18.62, 36.30, 8.56°)
OKLaboklab(31.28% 0.1095 0.0139)
OKLCHoklch(31.28% 0.11 7.2)
XYZxyz(4.8250, 2.6592, 2.1783)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0D27 #0D5B41
analogous
#5B0D4E #5B0D27 #5B1A0D
triadic
#5B0D27 #275B0D #0D275B
tetradic
#5B0D27 #4E5B0D #0D5B41 #1A0D5B
square
#5B0D27 #4E5B0D #0D5B41 #1A0D5B
split-complementary
#5B0D27 #0D5B1A #0D4E5B
monochromatic
#1B040B #250510 #5B0D27 #91153E #C61C55

Accessibility & contrast

On white

13.71
#5B0D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#5B0D27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0D27
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0D27#FFFFFF#000000##FFFFFF
##5B0D271.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222327
Deuteranopia (green-blind)
#363325
Tritanopia (blue-blind)
#640019
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5b0d27;
/* rgb */ color: rgb(91, 13, 39);
/* oklch */ color: oklch(31.3% 0.110 7.2);
Tailwind
colors: {
  custom: {
    50: '#8e5560',
    500: '#5b0d27',
    950: '#000000',
  },
}
SCSS
$custom: #5b0d27;
$custom-light: #8e5560;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0d27",
  "rgb": {
    "r": 91,
    "g": 13,
    "b": 39
  },
  "hsl": {
    "h": 340,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31277,
    "c": 0.11035,
    "h": 7.2
  },
  "luminance": 0.02658
}

Semantic roles & 50–950 ramp

primary
#5B0D27
secondary
#2F9573
accent
#F2B336
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5B0D27

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

Preview Lab → · Contrast checker → · Palette generator →

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