#A02154#A02154

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

Color values

HEX#A02154
RGBrgb(160, 33, 84)
HSLhsl(336, 66%, 38%)
HSVhsv(336, 79%, 63%)
CMYKcmyk(0%, 79.4%, 47.5%, 37.3%)
CIE-LABlab(36.37, 53.98, 2.27)
CIE-LCHlch(36.37, 54.02, 2.40°)
OKLaboklab(47.32% 0.1656 0.0064)
OKLCHoklch(47.32% 0.166 2.2)
XYZxyz(16.6427, 9.2037, 9.2859)
Luminance0.0920 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02154 #21A06D
analogous
#A02193 #A02154 #A02E21
triadic
#A02154 #54A021 #2154A0
tetradic
#A02154 #93A021 #21A06D #2E21A0
square
#A02154 #93A021 #21A06D #2E21A0
split-complementary
#A02154 #21A02E #2193A0
monochromatic
#3B0C1F #6D1739 #A02154 #D32B6F #DE5E91

Accessibility & contrast

On white

7.39
#A02154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#A02154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02154
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02154#FFFFFF#000000##FFFFFF
##A021541.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404655
Deuteranopia (green-blind)
#625E51
Tritanopia (blue-blind)
#AE0038
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a02154;
/* rgb */ color: rgb(160, 33, 84);
/* oklch */ color: oklch(47.3% 0.166 2.2);
Tailwind
colors: {
  custom: {
    50: '#c26a83',
    500: '#a02154',
    950: '#000000',
  },
}
SCSS
$custom: #a02154;
$custom-light: #c26a83;
$custom-dark: #000000;
JSON
{
  "hex": "#a02154",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 335.906,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47316,
    "c": 0.16575,
    "h": 2.2
  },
  "luminance": 0.09201
}

Semantic roles & 50–950 ramp

primary
#A02154
secondary
#5BC299
accent
#E9A53F
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #A02154

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

Preview Lab → · Contrast checker → · Palette generator →

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