#A02251#A02251

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

Color values

HEX#A02251
RGBrgb(160, 34, 81)
HSLhsl(338, 65%, 38%)
HSVhsv(338, 79%, 63%)
CMYKcmyk(0%, 78.8%, 49.4%, 37.3%)
CIE-LABlab(36.39, 53.41, 4.22)
CIE-LCHlch(36.39, 53.57, 4.52°)
OKLaboklab(47.3% 0.1636 0.0113)
OKLCHoklch(47.3% 0.164 4)
XYZxyz(16.5559, 9.2140, 8.6897)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02251 #22A071
analogous
#A02290 #A02251 #A03222
triadic
#A02251 #51A022 #2251A0
tetradic
#A02251 #90A022 #22A071 #3222A0
square
#A02251 #90A022 #22A071 #3222A0
split-complementary
#A02251 #22A032 #2290A0
monochromatic
#3B0D1E #6E1737 #A02251 #D22D6B #DD5F8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A02251#FFFFFF#000000##FFFFFF
##A022511.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)
#414652
Deuteranopia (green-blind)
#635E4E
Tritanopia (blue-blind)
#AE0037
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a02251;
/* rgb */ color: rgb(160, 34, 81);
/* oklch */ color: oklch(47.3% 0.164 4.0);
Tailwind
colors: {
  custom: {
    50: '#c26a81',
    500: '#a02251',
    950: '#000000',
  },
}
SCSS
$custom: #a02251;
$custom-light: #c26a81;
$custom-dark: #000000;
JSON
{
  "hex": "#a02251",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 81
  },
  "hsl": {
    "h": 337.619,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47302,
    "c": 0.16396,
    "h": 4
  },
  "luminance": 0.09212
}

Semantic roles & 50–950 ramp

primary
#A02251
secondary
#5CC29C
accent
#E8A940
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #A02251

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

Preview Lab → · Contrast checker → · Palette generator →

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