#A22A4E#A22A4E

#A22A4E is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.3% C 0.157 H 7.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#A22A4E
RGBrgb(162, 42, 78)
HSLhsl(342, 59%, 40%)
HSVhsv(342, 74%, 64%)
CMYKcmyk(0%, 74.1%, 51.9%, 36.5%)
CIE-LABlab(37.64, 51.07, 7.98)
CIE-LCHlch(37.64, 51.69, 8.88°)
OKLaboklab(48.27% 0.1556 0.0206)
OKLCHoklch(48.27% 0.157 7.6)
XYZxyz(17.1049, 9.8897, 8.2144)
Luminance0.0989 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22A4E #2AA27E
analogous
#A22A8A #A22A4E #A2422A
triadic
#A22A4E #4EA22A #2A4EA2
tetradic
#A22A4E #8AA22A #2AA27E #422AA2
square
#A22A4E #8AA22A #2AA27E #422AA2
split-complementary
#A22A4E #2AA242 #2A8AA2
monochromatic
#41111F #711D37 #A22A4E #CD3D68 #D96D8E

Accessibility & contrast

On white

7.05
#A22A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#A22A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22A4E
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22A4E#FFFFFF#000000##FFFFFF
##A22A4E1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47494F
Deuteranopia (green-blind)
#67614B
Tritanopia (blue-blind)
#B10E39
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a22a4e;
/* rgb */ color: rgb(162, 42, 78);
/* oklch */ color: oklch(48.3% 0.157 7.6);
Tailwind
colors: {
  custom: {
    50: '#c36e7f',
    500: '#a22a4e',
    950: '#000000',
  },
}
SCSS
$custom: #a22a4e;
$custom-light: #c36e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a22a4e",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 342,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.48268,
    "c": 0.15693,
    "h": 7.6
  },
  "luminance": 0.09887
}

Semantic roles & 50–950 ramp

primary
#A22A4E
secondary
#68C0A6
accent
#E2B346
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14080A
muted
#827A7C

Preview Lab

Preview with #A22A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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