#5D0F2A#5D0F2A

#5D0F2A is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.9% C 0.111 H 5.9°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#5D0F2A
RGBrgb(93, 15, 42)
HSLhsl(339, 72%, 21%)
HSVhsv(339, 84%, 36%)
CMYKcmyk(0%, 83.9%, 54.8%, 63.5%)
CIE-LABlab(19.38, 36.14, 4.39)
CIE-LCHlch(19.38, 36.41, 6.92°)
OKLaboklab(31.94% 0.1104 0.0115)
OKLCHoklch(31.94% 0.111 5.9)
XYZxyz(5.1034, 2.8367, 2.4688)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0F2A #0F5D42
analogous
#5D0F51 #5D0F2A #5D1B0F
triadic
#5D0F2A #2A5D0F #0F2A5D
tetradic
#5D0F2A #515D0F #0F5D42 #1B0F5D
square
#5D0F2A #515D0F #0F5D42 #1B0F5D
split-complementary
#5D0F2A #0F5D1B #0F515D
monochromatic
#1A040C #280612 #5D0F2A #921742 #C6205A

Accessibility & contrast

On white

13.40
#5D0F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5D0F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0F2A
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0F2A#FFFFFF#000000##FFFFFF
##5D0F2A1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23252B
Deuteranopia (green-blind)
#383528
Tritanopia (blue-blind)
#66001B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5d0f2a;
/* rgb */ color: rgb(93, 15, 42);
/* oklch */ color: oklch(31.9% 0.111 5.9);
Tailwind
colors: {
  custom: {
    50: '#905763',
    500: '#5d0f2a',
    950: '#000000',
  },
}
SCSS
$custom: #5d0f2a;
$custom-light: #905763;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0f2a",
  "rgb": {
    "r": 93,
    "g": 15,
    "b": 42
  },
  "hsl": {
    "h": 339.231,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31938,
    "c": 0.11101,
    "h": 5.9
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#5D0F2A
secondary
#319673
accent
#EFB039
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5D0F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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