#A02242#A02242

#A02242 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.161 H 11.9°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#A02242
RGBrgb(160, 34, 66)
HSLhsl(345, 65%, 38%)
HSVhsv(345, 79%, 63%)
CMYKcmyk(0%, 78.8%, 58.8%, 37.3%)
CIE-LABlab(36.01, 52.21, 13.36)
CIE-LCHlch(36.01, 53.89, 14.36°)
OKLaboklab(46.9% 0.1578 0.0333)
OKLCHoklch(46.9% 0.161 11.9)
XYZxyz(16.0542, 9.0133, 6.0476)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02242 #22A080
analogous
#A02281 #A02242 #A04122
triadic
#A02242 #42A022 #2242A0
tetradic
#A02242 #81A022 #22A080 #4122A0
square
#A02242 #81A022 #22A080 #4122A0
split-complementary
#A02242 #22A041 #2281A0
monochromatic
#3B0D18 #6E172D #A02242 #D22D57 #DD5F7F

Accessibility & contrast

On white

7.49
#A02242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#A02242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02242
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02242#FFFFFF#000000##FFFFFF
##A022421.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454442
Deuteranopia (green-blind)
#655E3F
Tritanopia (blue-blind)
#AF0030
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a02242;
/* rgb */ color: rgb(160, 34, 66);
/* oklch */ color: oklch(46.9% 0.161 11.9);
Tailwind
colors: {
  custom: {
    50: '#c36a76',
    500: '#a02242',
    950: '#000000',
  },
}
SCSS
$custom: #a02242;
$custom-light: #c36a76;
$custom-dark: #000000;
JSON
{
  "hex": "#a02242",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 344.762,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46895,
    "c": 0.16123,
    "h": 11.9
  },
  "luminance": 0.09011
}

Semantic roles & 50–950 ramp

primary
#A02242
secondary
#5CC2A8
accent
#E8BD40
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A02242

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

Preview Lab → · Contrast checker → · Palette generator →

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