#A02256#A02256

#A02256 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.165 H 1.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#A02256
RGBrgb(160, 34, 86)
HSLhsl(335, 65%, 38%)
HSVhsv(335, 79%, 63%)
CMYKcmyk(0%, 78.8%, 46.3%, 37.3%)
CIE-LABlab(36.54, 53.86, 1.22)
CIE-LCHlch(36.54, 53.87, 1.30°)
OKLaboklab(47.46% 0.1654 0.0037)
OKLCHoklch(47.46% 0.165 1.3)
XYZxyz(16.7503, 9.2918, 9.7137)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02256 #22A06C
analogous
#A02295 #A02256 #A02D22
triadic
#A02256 #56A022 #2256A0
tetradic
#A02256 #95A022 #22A06C #2D22A0
square
#A02256 #95A022 #22A06C #2D22A0
split-complementary
#A02256 #22A02D #2295A0
monochromatic
#3B0D20 #6E173B #A02256 #D22D71 #DD5F93

Accessibility & contrast

On white

7.35
#A02256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#A02256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02256
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02256#FFFFFF#000000##FFFFFF
##A022561.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404657
Deuteranopia (green-blind)
#625F53
Tritanopia (blue-blind)
#AE0339
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a02256;
/* rgb */ color: rgb(160, 34, 86);
/* oklch */ color: oklch(47.5% 0.165 1.3);
Tailwind
colors: {
  custom: {
    50: '#c26a85',
    500: '#a02256',
    950: '#000000',
  },
}
SCSS
$custom: #a02256;
$custom-light: #c26a85;
$custom-dark: #000000;
JSON
{
  "hex": "#a02256",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 335.238,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47458,
    "c": 0.1654,
    "h": 1.3
  },
  "luminance": 0.0929
}

Semantic roles & 50–950 ramp

primary
#A02256
secondary
#5CC298
accent
#E8A340
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #A02256

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

Preview Lab → · Contrast checker → · Palette generator →

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