#A02042#A02042

#A02042 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.163 H 11.5°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#A02042
RGBrgb(160, 32, 66)
HSLhsl(344, 67%, 38%)
HSVhsv(344, 80%, 63%)
CMYKcmyk(0%, 80%, 58.8%, 37.3%)
CIE-LABlab(35.80, 52.81, 13.07)
CIE-LCHlch(35.80, 54.41, 13.90°)
OKLaboklab(46.74% 0.1597 0.0326)
OKLCHoklch(46.74% 0.163 11.5)
XYZxyz(15.9987, 8.9023, 6.0291)
Luminance0.0890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02042 #20A07E
analogous
#A02082 #A02042 #A03E20
triadic
#A02042 #42A020 #2042A0
tetradic
#A02042 #82A020 #20A07E #3E20A0
square
#A02042 #82A020 #20A07E #3E20A0
split-complementary
#A02042 #20A03E #2082A0
monochromatic
#3A0C18 #6D162D #A02042 #D32A57 #DE5C7F

Accessibility & contrast

On white

7.55
#A02042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#A02042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02042
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02042#FFFFFF#000000##FFFFFF
##A020421.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444442
Deuteranopia (green-blind)
#655E3F
Tritanopia (blue-blind)
#AF002F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #a02042;
/* rgb */ color: rgb(160, 32, 66);
/* oklch */ color: oklch(46.7% 0.163 11.5);
Tailwind
colors: {
  custom: {
    50: '#c36976',
    500: '#a02042',
    950: '#000000',
  },
}
SCSS
$custom: #a02042;
$custom-light: #c36976;
$custom-dark: #000000;
JSON
{
  "hex": "#a02042",
  "rgb": {
    "r": 160,
    "g": 32,
    "b": 66
  },
  "hsl": {
    "h": 344.063,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46737,
    "c": 0.163,
    "h": 11.5
  },
  "luminance": 0.089
}

Semantic roles & 50–950 ramp

primary
#A02042
secondary
#59C3A7
accent
#EABC3E
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A02042

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

Preview Lab → · Contrast checker → · Palette generator →

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