#A22258#A22258

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

Color values

HEX#A22258
RGBrgb(162, 34, 88)
HSLhsl(335, 65%, 38%)
HSVhsv(335, 79%, 64%)
CMYKcmyk(0%, 79%, 45.7%, 36.5%)
CIE-LABlab(36.99, 54.60, 0.64)
CIE-LCHlch(36.99, 54.61, 0.67°)
OKLaboklab(47.88% 0.1677 0.0023)
OKLCHoklch(47.88% 0.168 0.8)
XYZxyz(17.2352, 9.5323, 10.1630)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22258 #22A26C
analogous
#A22298 #A22258 #A22C22
triadic
#A22258 #58A222 #2258A2
tetradic
#A22258 #98A222 #22A26C #2C22A2
square
#A22258 #98A222 #22A26C #2C22A2
split-complementary
#A22258 #22A22C #2298A2
monochromatic
#3D0D21 #6F173D #A22258 #D32E74 #DE6195

Accessibility & contrast

On white

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

On black

2.91
#A22258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A22258#FFFFFF#000000##FFFFFF
##A222581.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404759
Deuteranopia (green-blind)
#636055
Tritanopia (blue-blind)
#B0033A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a22258;
/* rgb */ color: rgb(162, 34, 88);
/* oklch */ color: oklch(47.9% 0.168 0.8);
Tailwind
colors: {
  custom: {
    50: '#c36b87',
    500: '#a22258',
    950: '#000000',
  },
}
SCSS
$custom: #a22258;
$custom-light: #c36b87;
$custom-dark: #000000;
JSON
{
  "hex": "#a22258",
  "rgb": {
    "r": 162,
    "g": 34,
    "b": 88
  },
  "hsl": {
    "h": 334.688,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47878,
    "c": 0.16773,
    "h": 0.8
  },
  "luminance": 0.0953
}

Semantic roles & 50–950 ramp

primary
#A22258
secondary
#5DC398
accent
#E8A140
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #A22258

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

Preview Lab → · Contrast checker → · Palette generator →

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