#A52058#A52058

#A52058 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.172 H 1.3°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#A52058
RGBrgb(165, 32, 88)
HSLhsl(335, 68%, 39%)
HSVhsv(335, 81%, 65%)
CMYKcmyk(0%, 80.6%, 46.7%, 35.3%)
CIE-LABlab(37.37, 56.00, 1.26)
CIE-LCHlch(37.37, 56.01, 1.29°)
OKLaboklab(48.26% 0.172 0.0039)
OKLCHoklch(48.26% 0.172 1.3)
XYZxyz(17.7965, 9.7394, 10.1734)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52058 #20A56D
analogous
#A5209A #A52058 #A52A20
triadic
#A52058 #58A520 #2058A5
tetradic
#A52058 #9AA520 #20A56D #2A20A5
square
#A52058 #9AA520 #20A56D #2A20A5
split-complementary
#A52058 #20A52A #209AA5
monochromatic
#3E0C21 #72163D #A52058 #D62C74 #E05F96

Accessibility & contrast

On white

7.12
#A52058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#A52058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A52058
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52058#FFFFFF#000000##FFFFFF
##A520581.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a52058;
/* rgb */ color: rgb(165, 32, 88);
/* oklch */ color: oklch(48.3% 0.172 1.3);
Tailwind
colors: {
  custom: {
    50: '#c56b86',
    500: '#a52058',
    950: '#000000',
  },
}
SCSS
$custom: #a52058;
$custom-light: #c56b86;
$custom-dark: #000000;
JSON
{
  "hex": "#a52058",
  "rgb": {
    "r": 165,
    "g": 32,
    "b": 88
  },
  "hsl": {
    "h": 334.737,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48263,
    "c": 0.17206,
    "h": 1.3
  },
  "luminance": 0.09737
}

Semantic roles & 50–950 ramp

primary
#A52058
secondary
#5CC599
accent
#EAA23D
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C

Preview Lab

Preview with #A52058

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

Preview Lab → · Contrast checker → · Palette generator →

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