#5D0F40#5D0F40

#5D0F40 is a dark, vivid pink. Relative luminance 0.030; OKLCH L 32.8% C 0.121 H 347.5°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#5D0F40
RGBrgb(93, 15, 64)
HSLhsl(322, 72%, 21%)
HSVhsv(322, 84%, 36%)
CMYKcmyk(0%, 83.9%, 31.2%, 63.5%)
CIE-LABlab(20.20, 38.64, -9.87)
CIE-LCHlch(20.20, 39.88, 345.67°)
OKLaboklab(32.81% 0.1179 -0.026)
OKLCHoklch(32.81% 0.121 347.5)
XYZxyz(5.6107, 3.0396, 5.1407)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0F40 #0F5D2C
analogous
#530F5D #5D0F40 #5D0F19
triadic
#5D0F40 #405D0F #0F405D
tetradic
#5D0F40 #5D530F #0F5D2C #0F195D
square
#5D0F40 #5D530F #0F5D2C #0F195D
split-complementary
#5D0F40 #195D0F #0F5D53
monochromatic
#1A0412 #28061C #5D0F40 #921764 #C62089

Accessibility & contrast

On white

13.06
#5D0F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5D0F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0F40
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0F40#FFFFFF#000000##FFFFFF
##5D0F401.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2841
Deuteranopia (green-blind)
#33363E
Tritanopia (blue-blind)
#640B26
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d0f40;
/* rgb */ color: rgb(93, 15, 64);
/* oklch */ color: oklch(32.8% 0.121 347.5);
Tailwind
colors: {
  custom: {
    50: '#8e5774',
    500: '#5d0f40',
    950: '#000000',
  },
}
SCSS
$custom: #5d0f40;
$custom-light: #8e5774;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0f40",
  "rgb": {
    "r": 93,
    "g": 15,
    "b": 64
  },
  "hsl": {
    "h": 322.308,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3281,
    "c": 0.12069,
    "h": 347.5
  },
  "luminance": 0.03039
}

Semantic roles & 50–950 ramp

primary
#5D0F40
secondary
#319657
accent
#EF7D39
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5D0F40

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

Preview Lab → · Contrast checker → · Palette generator →

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