#A52257#A52257

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

Color values

HEX#A52257
RGBrgb(165, 34, 87)
HSLhsl(336, 66%, 39%)
HSVhsv(336, 79%, 65%)
CMYKcmyk(0%, 79.4%, 47.3%, 35.3%)
CIE-LABlab(37.54, 55.34, 2.15)
CIE-LCHlch(37.54, 55.38, 2.23°)
OKLaboklab(48.38% 0.1698 0.0061)
OKLCHoklch(48.38% 0.17 2.1)
XYZxyz(17.8109, 9.8339, 9.9752)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52257 #22A570
analogous
#A52299 #A52257 #A52F22
triadic
#A52257 #57A522 #2257A5
tetradic
#A52257 #99A522 #22A570 #2F22A5
square
#A52257 #99A522 #22A570 #2F22A5
split-complementary
#A52257 #22A52F #2299A5
monochromatic
#400D21 #72183C #A52257 #D43072 #DF6395

Accessibility & contrast

On white

7.08
#A52257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A52257
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52257#FFFFFF#000000##FFFFFF
##A522571.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a52257;
/* rgb */ color: rgb(165, 34, 87);
/* oklch */ color: oklch(48.4% 0.170 2.1);
Tailwind
colors: {
  custom: {
    50: '#c56b86',
    500: '#a52257',
    950: '#000000',
  },
}
SCSS
$custom: #a52257;
$custom-light: #c56b86;
$custom-dark: #000000;
JSON
{
  "hex": "#a52257",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 87
  },
  "hsl": {
    "h": 335.725,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4838,
    "c": 0.16993,
    "h": 2.1
  },
  "luminance": 0.09832
}

Semantic roles & 50–950 ramp

primary
#A52257
secondary
#5FC49B
accent
#E9A43F
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C

Preview Lab

Preview with #A52257

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

Preview Lab → · Contrast checker → · Palette generator →

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