#5B0F41#5B0F41

#5B0F41 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.5% C 0.120 H 345.7°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#5B0F41
RGBrgb(91, 15, 65)
HSLhsl(321, 72%, 21%)
HSVhsv(321, 84%, 36%)
CMYKcmyk(0%, 83.5%, 28.6%, 64.3%)
CIE-LABlab(19.83, 38.22, -11.16)
CIE-LCHlch(19.83, 39.82, 343.72°)
OKLaboklab(32.48% 0.1161 -0.0296)
OKLCHoklch(32.48% 0.12 345.7)
XYZxyz(5.4396, 2.9481, 5.2826)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F41 #0F5B29
analogous
#4F0F5B #5B0F41 #5B0F1B
triadic
#5B0F41 #415B0F #0F415B
tetradic
#5B0F41 #5B4F0F #0F5B29 #0F1B5B
square
#5B0F41 #5B4F0F #0F5B29 #0F1B5B
split-complementary
#5B0F41 #1B5B0F #0F5B4F
monochromatic
#1A0413 #26061B #5B0F41 #901867 #C4208C

Accessibility & contrast

On white

13.21
#5B0F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5B0F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0F41
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0F41#FFFFFF#000000##FFFFFF
##5B0F411.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2842
Deuteranopia (green-blind)
#31353F
Tritanopia (blue-blind)
#620D27
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b0f41;
/* rgb */ color: rgb(91, 15, 65);
/* oklch */ color: oklch(32.5% 0.120 345.7);
Tailwind
colors: {
  custom: {
    50: '#8d5775',
    500: '#5b0f41',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f41;
$custom-light: #8d5775;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f41",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 320.526,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32483,
    "c": 0.11983,
    "h": 345.7
  },
  "luminance": 0.02947
}

Semantic roles & 50–950 ramp

primary
#5B0F41
secondary
#319553
accent
#EE7739
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0308
muted
#7D787B

Preview Lab

Preview with #5B0F41

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

Preview Lab → · Contrast checker → · Palette generator →

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