#A52252#A52252

#A52252 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.2% C 0.169 H 4.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#A52252
RGBrgb(165, 34, 82)
HSLhsl(338, 66%, 39%)
HSVhsv(338, 79%, 65%)
CMYKcmyk(0%, 79.4%, 50.3%, 35.3%)
CIE-LABlab(37.40, 54.89, 5.15)
CIE-LCHlch(37.40, 55.14, 5.36°)
OKLaboklab(48.23% 0.168 0.0137)
OKLCHoklch(48.23% 0.169 4.6)
XYZxyz(17.6136, 9.7550, 8.9364)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52252 #22A575
analogous
#A52294 #A52252 #A53422
triadic
#A52252 #52A522 #2252A5
tetradic
#A52252 #94A522 #22A575 #3422A5
square
#A52252 #94A522 #22A575 #3422A5
split-complementary
#A52252 #22A534 #2294A5
monochromatic
#400D20 #721839 #A52252 #D4306C #DF6390

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A52252#FFFFFF#000000##FFFFFF
##A522521.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)
#434853
Deuteranopia (green-blind)
#66614F
Tritanopia (blue-blind)
#B40037
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a52252;
/* rgb */ color: rgb(165, 34, 82);
/* oklch */ color: oklch(48.2% 0.169 4.6);
Tailwind
colors: {
  custom: {
    50: '#c66b82',
    500: '#a52252',
    950: '#000000',
  },
}
SCSS
$custom: #a52252;
$custom-light: #c66b82;
$custom-dark: #000000;
JSON
{
  "hex": "#a52252",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 338.015,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48227,
    "c": 0.16857,
    "h": 4.6
  },
  "luminance": 0.09753
}

Semantic roles & 50–950 ramp

primary
#A52252
secondary
#5FC49F
accent
#E9AB3F
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A52252

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

Preview Lab → · Contrast checker → · Palette generator →

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