#A02152#A02152

#A02152 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.165 H 3.3°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#A02152
RGBrgb(160, 33, 82)
HSLhsl(337, 66%, 38%)
HSVhsv(337, 79%, 63%)
CMYKcmyk(0%, 79.4%, 48.8%, 37.3%)
CIE-LABlab(36.31, 53.80, 3.47)
CIE-LCHlch(36.31, 53.91, 3.69°)
OKLaboklab(47.25% 0.1649 0.0094)
OKLCHoklch(47.25% 0.165 3.3)
XYZxyz(16.5655, 9.1728, 8.8792)
Luminance0.0917 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02152 #21A06F
analogous
#A02192 #A02152 #A02F21
triadic
#A02152 #52A021 #2152A0
tetradic
#A02152 #92A021 #21A06F #2F21A0
square
#A02152 #92A021 #21A06F #2F21A0
split-complementary
#A02152 #21A02F #2192A0
monochromatic
#3B0C1E #6D1738 #A02152 #D32B6C #DE5E8F

Accessibility & contrast

On white

7.41
#A02152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#A02152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02152
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02152#FFFFFF#000000##FFFFFF
##A021521.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414653
Deuteranopia (green-blind)
#625E4F
Tritanopia (blue-blind)
#AE0037
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a02152;
/* rgb */ color: rgb(160, 33, 82);
/* oklch */ color: oklch(47.3% 0.165 3.3);
Tailwind
colors: {
  custom: {
    50: '#c26a82',
    500: '#a02152',
    950: '#000000',
  },
}
SCSS
$custom: #a02152;
$custom-light: #c26a82;
$custom-dark: #000000;
JSON
{
  "hex": "#a02152",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 336.85,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47254,
    "c": 0.16518,
    "h": 3.3
  },
  "luminance": 0.0917
}

Semantic roles & 50–950 ramp

primary
#A02152
secondary
#5BC29A
accent
#E9A73F
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #A02152

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

Preview Lab → · Contrast checker → · Palette generator →

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