#5B0F43#5B0F43

#5B0F43 is a dark, vivid pink. Relative luminance 0.030; OKLCH L 32.6% C 0.121 H 344.1°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#5B0F43
RGBrgb(91, 15, 67)
HSLhsl(319, 72%, 21%)
HSVhsv(319, 84%, 36%)
CMYKcmyk(0%, 83.5%, 26.4%, 64.3%)
CIE-LABlab(19.93, 38.51, -12.40)
CIE-LCHlch(19.93, 40.46, 342.15°)
OKLaboklab(32.58% 0.1165 -0.0331)
OKLCHoklch(32.58% 0.121 344.1)
XYZxyz(5.4986, 2.9716, 5.5931)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F43 #0F5B27
analogous
#4D0F5B #5B0F43 #5B0F1D
triadic
#5B0F43 #435B0F #0F435B
tetradic
#5B0F43 #5B4D0F #0F5B27 #0F1D5B
square
#5B0F43 #5B4D0F #0F5B27 #0F1D5B
split-complementary
#5B0F43 #1D5B0F #0F5B4D
monochromatic
#1A0413 #26061C #5B0F43 #90186A #C42090

Accessibility & contrast

On white

13.17
#5B0F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0F43
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0F43#FFFFFF#000000##FFFFFF
##5B0F431.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192844
Deuteranopia (green-blind)
#303541
Tritanopia (blue-blind)
#620E28
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b0f43;
/* rgb */ color: rgb(91, 15, 67);
/* oklch */ color: oklch(32.6% 0.121 344.1);
Tailwind
colors: {
  custom: {
    50: '#8d5777',
    500: '#5b0f43',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f43;
$custom-light: #8d5777;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f43",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 67
  },
  "hsl": {
    "h": 318.947,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32583,
    "c": 0.12113,
    "h": 344.1
  },
  "luminance": 0.02971
}

Semantic roles & 50–950 ramp

primary
#5B0F43
secondary
#319551
accent
#EE7339
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0408
muted
#7D797B

Preview Lab

Preview with #5B0F43

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

Preview Lab → · Contrast checker → · Palette generator →

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