#5B133F#5B133F

#5B133F is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.7% C 0.114 H 347.8°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#5B133F
RGBrgb(91, 19, 63)
HSLhsl(323, 65%, 22%)
HSVhsv(323, 79%, 36%)
CMYKcmyk(0%, 79.1%, 30.8%, 64.3%)
CIE-LABlab(20.24, 36.53, -9.15)
CIE-LCHlch(20.24, 37.66, 345.94°)
OKLaboklab(32.75% 0.1112 -0.0241)
OKLCHoklch(32.75% 0.114 347.8)
XYZxyz(5.4447, 3.0494, 5.0035)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B133F #135B2F
analogous
#53135B #5B133F #5B131B
triadic
#5B133F #3F5B13 #133F5B
tetradic
#5B133F #5B5313 #135B2F #131B5B
square
#5B133F #5B5313 #135B2F #131B5B
split-complementary
#5B133F #1B5B13 #135B53
monochromatic
#190512 #28081C #5B133F #8E1E62 #C02885

Accessibility & contrast

On white

13.05
#5B133F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B133F
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B133F#FFFFFF#000000##FFFFFF
##5B133F1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2940
Deuteranopia (green-blind)
#33353D
Tritanopia (blue-blind)
#621027
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b133f;
/* rgb */ color: rgb(91, 19, 63);
/* oklch */ color: oklch(32.7% 0.114 347.8);
Tailwind
colors: {
  custom: {
    50: '#8d5974',
    500: '#5b133f',
    950: '#000000',
  },
}
SCSS
$custom: #5b133f;
$custom-light: #8d5974;
$custom-dark: #000000;
JSON
{
  "hex": "#5b133f",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 63
  },
  "hsl": {
    "h": 323.333,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32748,
    "c": 0.11381,
    "h": 347.8
  },
  "luminance": 0.03049
}

Semantic roles & 50–950 ramp

primary
#5B133F
secondary
#37935B
accent
#E8813F
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5B133F

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

Preview Lab → · Contrast checker → · Palette generator →

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