#5B1945#5B1945

#5B1945 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.7% C 0.110 H 343.7°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#5B1945
RGBrgb(91, 25, 69)
HSLhsl(320, 57%, 23%)
HSVhsv(320, 73%, 36%)
CMYKcmyk(0%, 72.5%, 24.2%, 64.3%)
CIE-LABlab(21.39, 34.95, -11.52)
CIE-LCHlch(21.39, 36.80, 341.75°)
OKLaboklab(33.68% 0.1051 -0.0307)
OKLCHoklch(33.68% 0.11 343.7)
XYZxyz(5.7364, 3.3496, 5.9735)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1945 #195B2F
analogous
#50195B #5B1945 #5B1924
triadic
#5B1945 #455B19 #19455B
tetradic
#5B1945 #5B5019 #195B2F #19245B
square
#5B1945 #5B5019 #195B2F #19245B
split-complementary
#5B1945 #245B19 #195B50
monochromatic
#180712 #2B0C21 #5B1945 #8B2669 #BB338E

Accessibility & contrast

On white

12.58
#5B1945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5B1945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1945
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1945#FFFFFF#000000##FFFFFF
##5B19451.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2C46
Deuteranopia (green-blind)
#333743
Tritanopia (blue-blind)
#61192C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5b1945;
/* rgb */ color: rgb(91, 25, 69);
/* oklch */ color: oklch(33.7% 0.110 343.7);
Tailwind
colors: {
  custom: {
    50: '#8c5c78',
    500: '#5b1945',
    950: '#000000',
  },
}
SCSS
$custom: #5b1945;
$custom-light: #8c5c78;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1945",
  "rgb": {
    "r": 91,
    "g": 25,
    "b": 69
  },
  "hsl": {
    "h": 320,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33679,
    "c": 0.1095,
    "h": 343.7
  },
  "luminance": 0.03349
}

Semantic roles & 50–950 ramp

primary
#5B1945
secondary
#3F915A
accent
#E07A48
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5B1945

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

Preview Lab → · Contrast checker → · Palette generator →

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