#5B2E4E#5B2E4E

#5B2E4E is a dark, moderate pink. Relative luminance 0.047; OKLCH L 37.2% C 0.080 H 339.1°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#5B2E4E
RGBrgb(91, 46, 78)
HSLhsl(317, 33%, 27%)
HSVhsv(317, 49%, 36%)
CMYKcmyk(0%, 49.5%, 14.3%, 64.3%)
CIE-LABlab(25.95, 25.39, -10.63)
CIE-LCHlch(25.95, 27.53, 337.29°)
OKLaboklab(37.18% 0.0743 -0.0284)
OKLCHoklch(37.18% 0.08 339.1)
XYZxyz(6.6666, 4.7286, 7.7678)
Luminance0.0473 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2E4E #2E5B3B
analogous
#522E5B #5B2E4E #5B2E38
triadic
#5B2E4E #4E5B2E #2E4E5B
tetradic
#5B2E4E #5B522E #2E5B3B #2E385B
square
#5B2E4E #5B522E #2E5B3B #2E385B
split-complementary
#5B2E4E #385B2E #2E5B52
monochromatic
#140A11 #32192B #5B2E4E #844371 #AB5993

Accessibility & contrast

On white

10.79
#5B2E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#5B2E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2E4E
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2E4E#FFFFFF#000000##FFFFFF
##5B2E4E1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30394F
Deuteranopia (green-blind)
#3C404D
Tritanopia (blue-blind)
#5F2F3A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5b2e4e;
/* rgb */ color: rgb(91, 46, 78);
/* oklch */ color: oklch(37.2% 0.080 339.1);
Tailwind
colors: {
  custom: {
    50: '#8b687f',
    500: '#5b2e4e',
    950: '#000000',
  },
}
SCSS
$custom: #5b2e4e;
$custom-light: #8b687f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2e4e",
  "rgb": {
    "r": 91,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 317.333,
    "s": 32.847,
    "l": 26.863
  },
  "oklch": {
    "l": 0.37183,
    "c": 0.07958,
    "h": 339.1
  },
  "luminance": 0.04728
}

Semantic roles & 50–950 ramp

primary
#5B2E4E
secondary
#588D67
accent
#C97D5F
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C060A
muted
#7D7A7C

Preview Lab

Preview with #5B2E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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