#5B0F49#5B0F49

#5B0F49 is a dark, vivid pink. Relative luminance 0.030; OKLCH L 32.9% C 0.125 H 339.7°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#5B0F49
RGBrgb(91, 15, 73)
HSLhsl(314, 72%, 21%)
HSVhsv(314, 84%, 36%)
CMYKcmyk(0%, 83.5%, 19.8%, 64.3%)
CIE-LABlab(20.23, 39.40, -16.06)
CIE-LCHlch(20.23, 42.54, 337.83°)
OKLaboklab(32.9% 0.1175 -0.0434)
OKLCHoklch(32.9% 0.125 339.7)
XYZxyz(5.6880, 3.0474, 6.5907)
Luminance0.0305 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F49 #0F5B21
analogous
#470F5B #5B0F49 #5B0F23
triadic
#5B0F49 #495B0F #0F495B
tetradic
#5B0F49 #5B470F #0F5B21 #0F235B
square
#5B0F49 #5B470F #0F5B21 #0F235B
split-complementary
#5B0F49 #235B0F #0F5B47
monochromatic
#1A0415 #26061F #5B0F49 #901873 #C4209D

Accessibility & contrast

On white

13.05
#5B0F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0F49
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0F49#FFFFFF#000000##FFFFFF
##5B0F491.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15294B
Deuteranopia (green-blind)
#2E3547
Tritanopia (blue-blind)
#61122B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b0f49;
/* rgb */ color: rgb(91, 15, 73);
/* oklch */ color: oklch(32.9% 0.125 339.7);
Tailwind
colors: {
  custom: {
    50: '#8d577c',
    500: '#5b0f49',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f49;
$custom-light: #8d577c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f49",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 314.211,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32901,
    "c": 0.1253,
    "h": 339.7
  },
  "luminance": 0.03047
}

Semantic roles & 50–950 ramp

primary
#5B0F49
secondary
#319549
accent
#EE6439
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5B0F49

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

Preview Lab → · Contrast checker → · Palette generator →

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