#A52158#A52158

#A52158 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.171 H 1.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#A52158
RGBrgb(165, 33, 88)
HSLhsl(335, 67%, 39%)
HSVhsv(335, 80%, 65%)
CMYKcmyk(0%, 80%, 46.7%, 35.3%)
CIE-LABlab(37.47, 55.72, 1.41)
CIE-LCHlch(37.47, 55.73, 1.45°)
OKLaboklab(48.34% 0.1711 0.0042)
OKLCHoklch(48.34% 0.171 1.4)
XYZxyz(17.8238, 9.7941, 10.1825)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52158 #21A56E
analogous
#A5219A #A52158 #A52C21
triadic
#A52158 #58A521 #2158A5
tetradic
#A52158 #9AA521 #21A56E #2C21A5
square
#A52158 #9AA521 #21A56E #2C21A5
split-complementary
#A52158 #21A52C #219AA5
monochromatic
#3F0D22 #72173D #A52158 #D52E74 #DF6196

Accessibility & contrast

On white

7.10
#A52158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#A52158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A52158
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52158#FFFFFF#000000##FFFFFF
##A521581.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414859
Deuteranopia (green-blind)
#656155
Tritanopia (blue-blind)
#B4003A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a52158;
/* rgb */ color: rgb(165, 33, 88);
/* oklch */ color: oklch(48.3% 0.171 1.4);
Tailwind
colors: {
  custom: {
    50: '#c56b86',
    500: '#a52158',
    950: '#000000',
  },
}
SCSS
$custom: #a52158;
$custom-light: #c56b86;
$custom-dark: #000000;
JSON
{
  "hex": "#a52158",
  "rgb": {
    "r": 165,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 335,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48336,
    "c": 0.17116,
    "h": 1.4
  },
  "luminance": 0.09792
}

Semantic roles & 50–950 ramp

primary
#A52158
secondary
#5EC499
accent
#EAA23E
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C

Preview Lab

Preview with #A52158

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

Preview Lab → · Contrast checker → · Palette generator →

#A52158 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva