#5B264E#5B264E

#5B264E is a dark, moderate pink. Relative luminance 0.042; OKLCH L 35.9% C 0.095 H 337.8°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#5B264E
RGBrgb(91, 38, 78)
HSLhsl(315, 41%, 25%)
HSVhsv(315, 58%, 36%)
CMYKcmyk(0%, 58.2%, 14.3%, 64.3%)
CIE-LABlab(24.20, 29.97, -13.31)
CIE-LCHlch(24.20, 32.79, 336.06°)
OKLaboklab(35.88% 0.0878 -0.0359)
OKLCHoklch(35.88% 0.095 337.8)
XYZxyz(6.3827, 4.1609, 7.6732)
Luminance0.0416 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B264E #265B33
analogous
#4D265B #5B264E #5B2633
triadic
#5B264E #4E5B26 #264E5B
tetradic
#5B264E #5B4D26 #265B33 #26335B
square
#5B264E #5B4D26 #265B33 #26335B
split-complementary
#5B264E #335B26 #265B4D
monochromatic
#160913 #301429 #5B264E #863873 #B14A98

Accessibility & contrast

On white

11.46
#5B264E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#5B264E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B264E
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B264E#FFFFFF#000000##FFFFFF
##5B264E1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27344F
Deuteranopia (green-blind)
#373D4D
Tritanopia (blue-blind)
#602836
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5b264e;
/* rgb */ color: rgb(91, 38, 78);
/* oklch */ color: oklch(35.9% 0.095 337.8);
Tailwind
colors: {
  custom: {
    50: '#8b637f',
    500: '#5b264e',
    950: '#000000',
  },
}
SCSS
$custom: #5b264e;
$custom-light: #8b637f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b264e",
  "rgb": {
    "r": 91,
    "g": 38,
    "b": 78
  },
  "hsl": {
    "h": 314.717,
    "s": 41.085,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35879,
    "c": 0.09483,
    "h": 337.8
  },
  "luminance": 0.0416
}

Semantic roles & 50–950 ramp

primary
#5B264E
secondary
#4F8E5E
accent
#D17557
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C050A
muted
#7D7A7C

Preview Lab

Preview with #5B264E

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

Preview Lab → · Contrast checker → · Palette generator →

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