#A02257#A02257

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

Color values

HEX#A02257
RGBrgb(160, 34, 87)
HSLhsl(335, 65%, 38%)
HSVhsv(335, 79%, 63%)
CMYKcmyk(0%, 78.8%, 45.6%, 37.3%)
CIE-LABlab(36.57, 53.96, 0.62)
CIE-LCHlch(36.57, 53.96, 0.66°)
OKLaboklab(47.49% 0.1657 0.0022)
OKLCHoklch(47.49% 0.166 0.8)
XYZxyz(16.7909, 9.3080, 9.9274)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02257 #22A06B
analogous
#A02296 #A02257 #A02C22
triadic
#A02257 #57A022 #2257A0
tetradic
#A02257 #96A022 #22A06B #2C22A0
square
#A02257 #96A022 #22A06B #2C22A0
split-complementary
#A02257 #22A02C #2296A0
monochromatic
#3B0D20 #6E173C #A02257 #D22D72 #DD5F94

Accessibility & contrast

On white

7.34
#A02257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A02257
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02257#FFFFFF#000000##FFFFFF
##A022571.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404758
Deuteranopia (green-blind)
#625F54
Tritanopia (blue-blind)
#AE053A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a02257;
/* rgb */ color: rgb(160, 34, 87);
/* oklch */ color: oklch(47.5% 0.166 0.8);
Tailwind
colors: {
  custom: {
    50: '#c16a86',
    500: '#a02257',
    950: '#000000',
  },
}
SCSS
$custom: #a02257;
$custom-light: #c16a86;
$custom-dark: #000000;
JSON
{
  "hex": "#a02257",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 87
  },
  "hsl": {
    "h": 334.762,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47491,
    "c": 0.16572,
    "h": 0.8
  },
  "luminance": 0.09306
}

Semantic roles & 50–950 ramp

primary
#A02257
secondary
#5CC297
accent
#E8A140
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #A02257

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

Preview Lab → · Contrast checker → · Palette generator →

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