#A22257#A22257

#A22257 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.167 H 1.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#A22257
RGBrgb(162, 34, 87)
HSLhsl(335, 65%, 38%)
HSVhsv(335, 79%, 64%)
CMYKcmyk(0%, 79%, 46.3%, 36.5%)
CIE-LABlab(36.96, 54.51, 1.24)
CIE-LCHlch(36.96, 54.52, 1.30°)
OKLaboklab(47.85% 0.1674 0.0038)
OKLCHoklch(47.85% 0.167 1.3)
XYZxyz(17.1940, 9.5159, 9.9463)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22257 #22A26D
analogous
#A22297 #A22257 #A22D22
triadic
#A22257 #57A222 #2257A2
tetradic
#A22257 #97A222 #22A26D #2D22A2
square
#A22257 #97A222 #22A26D #2D22A2
split-complementary
#A22257 #22A22D #2297A2
monochromatic
#3D0D21 #6F173C #A22257 #D32E72 #DE6194

Accessibility & contrast

On white

7.23
#A22257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#A22257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22257
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22257#FFFFFF#000000##FFFFFF
##A222571.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414758
Deuteranopia (green-blind)
#636054
Tritanopia (blue-blind)
#B0023A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a22257;
/* rgb */ color: rgb(162, 34, 87);
/* oklch */ color: oklch(47.8% 0.167 1.3);
Tailwind
colors: {
  custom: {
    50: '#c36b86',
    500: '#a22257',
    950: '#000000',
  },
}
SCSS
$custom: #a22257;
$custom-light: #c36b86;
$custom-dark: #000000;
JSON
{
  "hex": "#a22257",
  "rgb": {
    "r": 162,
    "g": 34,
    "b": 87
  },
  "hsl": {
    "h": 335.156,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47846,
    "c": 0.1674,
    "h": 1.3
  },
  "luminance": 0.09514
}

Semantic roles & 50–950 ramp

primary
#A22257
secondary
#5DC399
accent
#E8A240
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C

Preview Lab

Preview with #A22257

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

Preview Lab → · Contrast checker → · Palette generator →

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