#5B0F48#5B0F48

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

Color values

HEX#5B0F48
RGBrgb(91, 15, 72)
HSLhsl(315, 72%, 21%)
HSVhsv(315, 84%, 36%)
CMYKcmyk(0%, 83.5%, 20.9%, 64.3%)
CIE-LABlab(20.18, 39.24, -15.45)
CIE-LCHlch(20.18, 42.18, 338.51°)
OKLaboklab(32.85% 0.1174 -0.0417)
OKLCHoklch(32.85% 0.125 340.4)
XYZxyz(5.6551, 3.0343, 6.4175)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F48 #0F5B22
analogous
#480F5B #5B0F48 #5B0F22
triadic
#5B0F48 #485B0F #0F485B
tetradic
#5B0F48 #5B480F #0F5B22 #0F225B
square
#5B0F48 #5B480F #0F5B22 #0F225B
split-complementary
#5B0F48 #225B0F #0F5B48
monochromatic
#1A0415 #26061E #5B0F48 #901872 #C4209B

Accessibility & contrast

On white

13.07
#5B0F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0F48
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0F48#FFFFFF#000000##FFFFFF
##5B0F481.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152949
Deuteranopia (green-blind)
#2E3546
Tritanopia (blue-blind)
#61112A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b0f48;
/* rgb */ color: rgb(91, 15, 72);
/* oklch */ color: oklch(32.8% 0.125 340.4);
Tailwind
colors: {
  custom: {
    50: '#8d577b',
    500: '#5b0f48',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f48;
$custom-light: #8d577b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f48",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 315,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32846,
    "c": 0.12458,
    "h": 340.4
  },
  "luminance": 0.03034
}

Semantic roles & 50–950 ramp

primary
#5B0F48
secondary
#31954A
accent
#EE6739
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5B0F48

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

Preview Lab → · Contrast checker → · Palette generator →

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