#5A264E#5A264E

#5A264E is a dark, moderate pink. Relative luminance 0.041; OKLCH L 35.7% C 0.094 H 337.1°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#5A264E
RGBrgb(90, 38, 78)
HSLhsl(314, 41%, 25%)
HSVhsv(314, 58%, 35%)
CMYKcmyk(0%, 57.8%, 13.3%, 64.7%)
CIE-LABlab(24.03, 29.63, -13.57)
CIE-LCHlch(24.03, 32.59, 335.39°)
OKLaboklab(35.73% 0.0865 -0.0366)
OKLCHoklch(35.73% 0.094 337.1)
XYZxyz(6.2848, 4.1104, 7.6686)
Luminance0.0411 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A264E #265A32
analogous
#4C265A #5A264E #5A2634
triadic
#5A264E #4E5A26 #264E5A
tetradic
#5A264E #5A4C26 #265A32 #26345A
square
#5A264E #5A4C26 #265A32 #26345A
split-complementary
#5A264E #345A26 #265A4C
monochromatic
#160913 #2F1429 #5A264E #853873 #B04A99

Accessibility & contrast

On white

11.53
#5A264E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A264E
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A264E#FFFFFF#000000##FFFFFF
##5A264E1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27344F
Deuteranopia (green-blind)
#363C4D
Tritanopia (blue-blind)
#5F2836
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5a264e;
/* rgb */ color: rgb(90, 38, 78);
/* oklch */ color: oklch(35.7% 0.094 337.1);
Tailwind
colors: {
  custom: {
    50: '#8a637f',
    500: '#5a264e',
    950: '#000000',
  },
}
SCSS
$custom: #5a264e;
$custom-light: #8a637f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a264e",
  "rgb": {
    "r": 90,
    "g": 38,
    "b": 78
  },
  "hsl": {
    "h": 313.846,
    "s": 40.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35725,
    "c": 0.09396,
    "h": 337.1
  },
  "luminance": 0.0411
}

Semantic roles & 50–950 ramp

primary
#5A264E
secondary
#4F8D5D
accent
#D07357
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C050A
muted
#7D7A7C

Preview Lab

Preview with #5A264E

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

Preview Lab → · Contrast checker → · Palette generator →

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