#A02157#A02157

#A02157 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.167 H 0.6°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#A02157
RGBrgb(160, 33, 87)
HSLhsl(334, 66%, 38%)
HSVhsv(334, 79%, 63%)
CMYKcmyk(0%, 79.4%, 45.6%, 37.3%)
CIE-LABlab(36.46, 54.26, 0.47)
CIE-LCHlch(36.46, 54.26, 0.49°)
OKLaboklab(47.41% 0.1667 0.0018)
OKLCHoklch(47.41% 0.167 0.6)
XYZxyz(16.7627, 9.2517, 9.9180)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02157 #21A06A
analogous
#A02196 #A02157 #A02A21
triadic
#A02157 #57A021 #2157A0
tetradic
#A02157 #96A021 #21A06A #2A21A0
square
#A02157 #96A021 #21A06A #2A21A0
split-complementary
#A02157 #21A02A #2196A0
monochromatic
#3B0C20 #6D173B #A02157 #D32B73 #DE5E94

Accessibility & contrast

On white

7.37
#A02157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#A02157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02157
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02157#FFFFFF#000000##FFFFFF
##A021571.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4658
Deuteranopia (green-blind)
#615F54
Tritanopia (blue-blind)
#AE0239
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a02157;
/* rgb */ color: rgb(160, 33, 87);
/* oklch */ color: oklch(47.4% 0.167 0.6);
Tailwind
colors: {
  custom: {
    50: '#c26a86',
    500: '#a02157',
    950: '#000000',
  },
}
SCSS
$custom: #a02157;
$custom-light: #c26a86;
$custom-dark: #000000;
JSON
{
  "hex": "#a02157",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 334.488,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47413,
    "c": 0.16669,
    "h": 0.6
  },
  "luminance": 0.09249
}

Semantic roles & 50–950 ramp

primary
#A02157
secondary
#5BC296
accent
#E9A13F
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #A02157

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

Preview Lab → · Contrast checker → · Palette generator →

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