#A02147#A02147

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

Color values

HEX#A02147
RGBrgb(160, 33, 71)
HSLhsl(342, 66%, 38%)
HSVhsv(342, 79%, 63%)
CMYKcmyk(0%, 79.4%, 55.6%, 37.3%)
CIE-LABlab(36.02, 52.88, 10.15)
CIE-LCHlch(36.02, 53.85, 10.87°)
OKLaboklab(46.94% 0.1607 0.0258)
OKLCHoklch(46.94% 0.163 9.1)
XYZxyz(16.1799, 9.0186, 6.8488)
Luminance0.0902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02147 #21A07A
analogous
#A02186 #A02147 #A03A21
triadic
#A02147 #47A021 #2147A0
tetradic
#A02147 #86A021 #21A07A #3A21A0
square
#A02147 #86A021 #21A07A #3A21A0
split-complementary
#A02147 #21A03A #2186A0
monochromatic
#3B0C1A #6D1730 #A02147 #D32B5E #DE5E84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A02147#FFFFFF#000000##FFFFFF
##A021471.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)
#434448
Deuteranopia (green-blind)
#645E44
Tritanopia (blue-blind)
#AF0032
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a02147;
/* rgb */ color: rgb(160, 33, 71);
/* oklch */ color: oklch(46.9% 0.163 9.1);
Tailwind
colors: {
  custom: {
    50: '#c26a79',
    500: '#a02147',
    950: '#000000',
  },
}
SCSS
$custom: #a02147;
$custom-light: #c26a79;
$custom-dark: #000000;
JSON
{
  "hex": "#a02147",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 342.047,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46941,
    "c": 0.16278,
    "h": 9.1
  },
  "luminance": 0.09016
}

Semantic roles & 50–950 ramp

primary
#A02147
secondary
#5BC2A3
accent
#E9B63F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #A02147

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

Preview Lab → · Contrast checker → · Palette generator →

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