#5D0F4D#5D0F4D

#5D0F4D is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.5% C 0.130 H 338.1°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#5D0F4D
RGBrgb(93, 15, 77)
HSLhsl(312, 72%, 21%)
HSVhsv(312, 84%, 36%)
CMYKcmyk(0%, 83.9%, 17.2%, 63.5%)
CIE-LABlab(20.85, 40.53, -17.80)
CIE-LCHlch(20.85, 44.27, 336.30°)
OKLaboklab(33.49% 0.1201 -0.0483)
OKLCHoklch(33.49% 0.13 338.1)
XYZxyz(6.0247, 3.2052, 7.3211)
Luminance0.0321 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0F4D #0F5D1F
analogous
#460F5D #5D0F4D #5D0F26
triadic
#5D0F4D #4D5D0F #0F4D5D
tetradic
#5D0F4D #5D460F #0F5D1F #0F265D
square
#5D0F4D #5D460F #0F5D1F #0F265D
split-complementary
#5D0F4D #265D0F #0F5D46
monochromatic
#1A0416 #280621 #5D0F4D #921779 #C620A4

Accessibility & contrast

On white

12.80
#5D0F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5D0F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0F4D
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0F4D#FFFFFF#000000##FFFFFF
##5D0F4D1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132B4F
Deuteranopia (green-blind)
#2E364B
Tritanopia (blue-blind)
#63142D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d0f4d;
/* rgb */ color: rgb(93, 15, 77);
/* oklch */ color: oklch(33.5% 0.130 338.1);
Tailwind
colors: {
  custom: {
    50: '#8e587f',
    500: '#5d0f4d',
    950: '#000000',
  },
}
SCSS
$custom: #5d0f4d;
$custom-light: #8e587f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0f4d",
  "rgb": {
    "r": 93,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 312.308,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33488,
    "c": 0.1295,
    "h": 338.1
  },
  "luminance": 0.03205
}

Semantic roles & 50–950 ramp

primary
#5D0F4D
secondary
#319646
accent
#EF5E39
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D0F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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