#A22D5E#A22D5E

#A22D5E is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.0% C 0.158 H 359.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#A22D5E
RGBrgb(162, 45, 94)
HSLhsl(335, 57%, 41%)
HSVhsv(335, 72%, 64%)
CMYKcmyk(0%, 72.2%, 42%, 36.5%)
CIE-LABlab(38.50, 51.49, -0.98)
CIE-LCHlch(38.50, 51.50, 358.90°)
OKLaboklab(49.05% 0.1579 -0.002)
OKLCHoklch(49.05% 0.158 359.3)
XYZxyz(17.8603, 10.3685, 11.6483)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D5E #2DA271
analogous
#A22D98 #A22D5E #A2362D
triadic
#A22D5E #5EA22D #2D5EA2
tetradic
#A22D5E #98A22D #2DA271 #362DA2
square
#A22D5E #98A22D #2DA271 #362DA2
split-complementary
#A22D5E #2DA236 #2D98A2
monochromatic
#421226 #722042 #A22D5E #CA427B #D8729C

Accessibility & contrast

On white

6.83
#A22D5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A22D5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22D5E
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22D5E#FFFFFF#000000##FFFFFF
##A22D5E1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454C5F
Deuteranopia (green-blind)
#65635B
Tritanopia (blue-blind)
#B01D42
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22d5e;
/* rgb */ color: rgb(162, 45, 94);
/* oklch */ color: oklch(49.0% 0.158 359.3);
Tailwind
colors: {
  custom: {
    50: '#c2708b',
    500: '#a22d5e',
    950: '#000000',
  },
}
SCSS
$custom: #a22d5e;
$custom-light: #c2708b;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d5e",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 94
  },
  "hsl": {
    "h": 334.872,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49047,
    "c": 0.15791,
    "h": 359.3
  },
  "luminance": 0.10366
}

Semantic roles & 50–950 ramp

primary
#A22D5E
secondary
#6CBF9C
accent
#E0A048
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A22D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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