#5B283F#5B283F

#5B283F is a dark, moderate pink. Relative luminance 0.041; OKLCH L 35.5% C 0.080 H 353.6°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#5B283F
RGBrgb(91, 40, 63)
HSLhsl(333, 39%, 26%)
HSVhsv(333, 56%, 36%)
CMYKcmyk(0%, 56%, 30.8%, 64.3%)
CIE-LABlab(24.00, 26.33, -3.49)
CIE-LCHlch(24.00, 26.56, 352.44°)
OKLaboklab(35.53% 0.0797 -0.0089)
OKLCHoklch(35.53% 0.08 353.6)
XYZxyz(5.9706, 4.1011, 5.1788)
Luminance0.0410 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B283F #285B44
analogous
#5B2858 #5B283F #5B2A28
triadic
#5B283F #3F5B28 #283F5B
tetradic
#5B283F #585B28 #285B44 #2A285B
square
#5B283F #585B28 #285B44 #2A285B
split-complementary
#5B283F #285B2A #28585B
monochromatic
#15090F #301522 #5B283F #863B5C #B04D7A

Accessibility & contrast

On white

11.54
#5B283F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#5B283F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B283F
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B283F#FFFFFF#000000##FFFFFF
##5B283F1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3340
Deuteranopia (green-blind)
#3C3D3E
Tritanopia (blue-blind)
#612531
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5b283f;
/* rgb */ color: rgb(91, 40, 63);
/* oklch */ color: oklch(35.5% 0.080 353.6);
Tailwind
colors: {
  custom: {
    50: '#8b6474',
    500: '#5b283f',
    950: '#000000',
  },
}
SCSS
$custom: #5b283f;
$custom-light: #8b6474;
$custom-dark: #000000;
JSON
{
  "hex": "#5b283f",
  "rgb": {
    "r": 91,
    "g": 40,
    "b": 63
  },
  "hsl": {
    "h": 332.941,
    "s": 38.931,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35531,
    "c": 0.08023,
    "h": 353.6
  },
  "luminance": 0.04101
}

Semantic roles & 50–950 ramp

primary
#5B283F
secondary
#518E72
accent
#CF9A59
background
#F8F6F7
surface
#F0EBED
border
#CBC6C8
text
#0C0508
muted
#7D7A7B

Preview Lab

Preview with #5B283F

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

Preview Lab → · Contrast checker → · Palette generator →

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