#A52258#A52258

#A52258 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.170 H 1.6°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#A52258
RGBrgb(165, 34, 88)
HSLhsl(335, 66%, 39%)
HSVhsv(335, 79%, 65%)
CMYKcmyk(0%, 79.4%, 46.7%, 35.3%)
CIE-LABlab(37.57, 55.43, 1.56)
CIE-LCHlch(37.57, 55.45, 1.61°)
OKLaboklab(48.41% 0.1702 0.0046)
OKLCHoklch(48.41% 0.17 1.6)
XYZxyz(17.8520, 9.8504, 10.1919)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52258 #22A56F
analogous
#A5229A #A52258 #A52E22
triadic
#A52258 #58A522 #2258A5
tetradic
#A52258 #9AA522 #22A56F #2E22A5
square
#A52258 #9AA522 #22A56F #2E22A5
split-complementary
#A52258 #22A52E #229AA5
monochromatic
#400D22 #72183D #A52258 #D43074 #DF6396

Accessibility & contrast

On white

7.07
#A52258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#A52258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A52258
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52258#FFFFFF#000000##FFFFFF
##A522581.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a52258;
/* rgb */ color: rgb(165, 34, 88);
/* oklch */ color: oklch(48.4% 0.170 1.6);
Tailwind
colors: {
  custom: {
    50: '#c56b86',
    500: '#a52258',
    950: '#000000',
  },
}
SCSS
$custom: #a52258;
$custom-light: #c56b86;
$custom-dark: #000000;
JSON
{
  "hex": "#a52258",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 88
  },
  "hsl": {
    "h": 335.267,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48411,
    "c": 0.17023,
    "h": 1.6
  },
  "luminance": 0.09848
}

Semantic roles & 50–950 ramp

primary
#A52258
secondary
#5FC49A
accent
#E9A33F
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C

Preview Lab

Preview with #A52258

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

Preview Lab → · Contrast checker → · Palette generator →

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