#5B0F46#5B0F46

#5B0F46 is a dark, vivid pink. Relative luminance 0.030; OKLCH L 32.7% C 0.123 H 341.9°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#5B0F46
RGBrgb(91, 15, 70)
HSLhsl(317, 72%, 21%)
HSVhsv(317, 84%, 36%)
CMYKcmyk(0%, 83.5%, 23.1%, 64.3%)
CIE-LABlab(20.08, 38.94, -14.24)
CIE-LCHlch(20.08, 41.47, 339.92°)
OKLaboklab(32.74% 0.1171 -0.0383)
OKLCHoklch(32.74% 0.123 341.9)
XYZxyz(5.5909, 3.0086, 6.0794)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F46 #0F5B24
analogous
#4A0F5B #5B0F46 #5B0F20
triadic
#5B0F46 #465B0F #0F465B
tetradic
#5B0F46 #5B4A0F #0F5B24 #0F205B
square
#5B0F46 #5B4A0F #0F5B24 #0F205B
split-complementary
#5B0F46 #205B0F #0F5B4A
monochromatic
#1A0414 #26061E #5B0F46 #90186E #C42097

Accessibility & contrast

On white

13.11
#5B0F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5B0F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0F46
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0F46#FFFFFF#000000##FFFFFF
##5B0F461.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172947
Deuteranopia (green-blind)
#2F3544
Tritanopia (blue-blind)
#611029
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b0f46;
/* rgb */ color: rgb(91, 15, 70);
/* oklch */ color: oklch(32.7% 0.123 341.9);
Tailwind
colors: {
  custom: {
    50: '#8d5779',
    500: '#5b0f46',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f46;
$custom-light: #8d5779;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f46",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 70
  },
  "hsl": {
    "h": 316.579,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32739,
    "c": 0.12317,
    "h": 341.9
  },
  "luminance": 0.03008
}

Semantic roles & 50–950 ramp

primary
#5B0F46
secondary
#31954D
accent
#EE6B39
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5B0F46

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

Preview Lab → · Contrast checker → · Palette generator →

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