#A52251#A52251

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

Color values

HEX#A52251
RGBrgb(165, 34, 81)
HSLhsl(338, 66%, 39%)
HSVhsv(338, 79%, 65%)
CMYKcmyk(0%, 79.4%, 50.9%, 35.3%)
CIE-LABlab(37.37, 54.81, 5.75)
CIE-LCHlch(37.37, 55.11, 5.99°)
OKLaboklab(48.2% 0.1676 0.0151)
OKLCHoklch(48.2% 0.168 5.2)
XYZxyz(17.5758, 9.7399, 8.7375)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52251 #22A576
analogous
#A52293 #A52251 #A53522
triadic
#A52251 #51A522 #2251A5
tetradic
#A52251 #93A522 #22A576 #3522A5
square
#A52251 #93A522 #22A576 #3522A5
split-complementary
#A52251 #22A535 #2293A5
monochromatic
#400D1F #721838 #A52251 #D4306B #DF638F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A52251#FFFFFF#000000##FFFFFF
##A522511.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)
#444752
Deuteranopia (green-blind)
#66614E
Tritanopia (blue-blind)
#B40037
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a52251;
/* rgb */ color: rgb(165, 34, 81);
/* oklch */ color: oklch(48.2% 0.168 5.2);
Tailwind
colors: {
  custom: {
    50: '#c66b81',
    500: '#a52251',
    950: '#000000',
  },
}
SCSS
$custom: #a52251;
$custom-light: #c66b81;
$custom-dark: #000000;
JSON
{
  "hex": "#a52251",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 81
  },
  "hsl": {
    "h": 338.473,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48198,
    "c": 0.16832,
    "h": 5.2
  },
  "luminance": 0.09737
}

Semantic roles & 50–950 ramp

primary
#A52251
secondary
#5FC4A0
accent
#E9AC3F
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A52251

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

Preview Lab → · Contrast checker → · Palette generator →

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