#A02142#A02142

#A02142 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.8% C 0.162 H 11.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#A02142
RGBrgb(160, 33, 66)
HSLhsl(344, 66%, 38%)
HSVhsv(344, 79%, 63%)
CMYKcmyk(0%, 79.4%, 58.8%, 37.3%)
CIE-LABlab(35.90, 52.51, 13.22)
CIE-LCHlch(35.90, 54.15, 14.13°)
OKLaboklab(46.82% 0.1588 0.0329)
OKLCHoklch(46.82% 0.162 11.7)
XYZxyz(16.0260, 8.9570, 6.0382)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02142 #21A07F
analogous
#A02182 #A02142 #A03F21
triadic
#A02142 #42A021 #2142A0
tetradic
#A02142 #82A021 #21A07F #3F21A0
square
#A02142 #82A021 #21A07F #3F21A0
split-complementary
#A02142 #21A03F #2182A0
monochromatic
#3B0C18 #6D172D #A02142 #D32B57 #DE5E7F

Accessibility & contrast

On white

7.52
#A02142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#A02142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02142
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02142#FFFFFF#000000##FFFFFF
##A021421.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.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: #a02142;
/* rgb */ color: rgb(160, 33, 66);
/* oklch */ color: oklch(46.8% 0.162 11.7);
Tailwind
colors: {
  custom: {
    50: '#c36976',
    500: '#a02142',
    950: '#000000',
  },
}
SCSS
$custom: #a02142;
$custom-light: #c36976;
$custom-dark: #000000;
JSON
{
  "hex": "#a02142",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 66
  },
  "hsl": {
    "h": 344.409,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46815,
    "c": 0.16213,
    "h": 11.7
  },
  "luminance": 0.08955
}

Semantic roles & 50–950 ramp

primary
#A02142
secondary
#5BC2A7
accent
#E9BD3F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A02142

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

Preview Lab → · Contrast checker → · Palette generator →

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