#A52157#A52157

#A52157 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.171 H 1.9°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#A52157
RGBrgb(165, 33, 87)
HSLhsl(335, 67%, 39%)
HSVhsv(335, 80%, 65%)
CMYKcmyk(0%, 80%, 47.3%, 35.3%)
CIE-LABlab(37.44, 55.63, 2.01)
CIE-LCHlch(37.44, 55.66, 2.07°)
OKLaboklab(48.31% 0.1708 0.0058)
OKLCHoklch(48.31% 0.171 1.9)
XYZxyz(17.7827, 9.7776, 9.9658)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52157 #21A56F
analogous
#A52199 #A52157 #A52D21
triadic
#A52157 #57A521 #2157A5
tetradic
#A52157 #99A521 #21A56F #2D21A5
square
#A52157 #99A521 #21A56F #2D21A5
split-complementary
#A52157 #21A52D #2199A5
monochromatic
#3F0D21 #72173C #A52157 #D52E72 #DF6195

Accessibility & contrast

On white

7.11
#A52157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A52157
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52157#FFFFFF#000000##FFFFFF
##A521571.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a52157;
/* rgb */ color: rgb(165, 33, 87);
/* oklch */ color: oklch(48.3% 0.171 1.9);
Tailwind
colors: {
  custom: {
    50: '#c56b86',
    500: '#a52157',
    950: '#000000',
  },
}
SCSS
$custom: #a52157;
$custom-light: #c56b86;
$custom-dark: #000000;
JSON
{
  "hex": "#a52157",
  "rgb": {
    "r": 165,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 335.455,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48305,
    "c": 0.17086,
    "h": 1.9
  },
  "luminance": 0.09775
}

Semantic roles & 50–950 ramp

primary
#A52157
secondary
#5EC49A
accent
#EAA33E
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C

Preview Lab

Preview with #A52157

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

Preview Lab → · Contrast checker → · Palette generator →

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