#A22A5E#A22A5E

#A22A5E is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.161 H 358.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#A22A5E
RGBrgb(162, 42, 94)
HSLhsl(334, 59%, 40%)
HSVhsv(334, 74%, 64%)
CMYKcmyk(0%, 74.1%, 42%, 36.5%)
CIE-LABlab(38.11, 52.58, -1.56)
CIE-LCHlch(38.11, 52.60, 358.30°)
OKLaboklab(48.76% 0.1614 -0.0034)
OKLCHoklch(48.76% 0.161 358.8)
XYZxyz(17.7499, 10.1477, 11.6115)
Luminance0.1014 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22A5E #2AA26E
analogous
#A22A9A #A22A5E #A2322A
triadic
#A22A5E #5EA22A #2A5EA2
tetradic
#A22A5E #9AA22A #2AA26E #322AA2
square
#A22A5E #9AA22A #2AA26E #322AA2
split-complementary
#A22A5E #2AA232 #2A9AA2
monochromatic
#411126 #711D42 #A22A5E #CD3D7B #D96D9C

Accessibility & contrast

On white

6.93
#A22A5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A22A5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22A5E
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22A5E#FFFFFF#000000##FFFFFF
##A22A5E1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434B5F
Deuteranopia (green-blind)
#64625B
Tritanopia (blue-blind)
#B01940
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a22a5e;
/* rgb */ color: rgb(162, 42, 94);
/* oklch */ color: oklch(48.8% 0.161 358.8);
Tailwind
colors: {
  custom: {
    50: '#c26e8b',
    500: '#a22a5e',
    950: '#000000',
  },
}
SCSS
$custom: #a22a5e;
$custom-light: #c26e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#a22a5e",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 94
  },
  "hsl": {
    "h": 334,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.4876,
    "c": 0.16141,
    "h": 358.8
  },
  "luminance": 0.10145
}

Semantic roles & 50–950 ramp

primary
#A22A5E
secondary
#68C09A
accent
#E29E46
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A22A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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