#A22D5F#A22D5F

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

Color values

HEX#A22D5F
RGBrgb(162, 45, 95)
HSLhsl(334, 57%, 41%)
HSVhsv(334, 72%, 64%)
CMYKcmyk(0%, 72.2%, 41.4%, 36.5%)
CIE-LABlab(38.53, 51.60, -1.57)
CIE-LCHlch(38.53, 51.62, 358.25°)
OKLaboklab(49.08% 0.1582 -0.0035)
OKLCHoklch(49.08% 0.158 358.7)
XYZxyz(17.9055, 10.3866, 11.8862)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D5F #2DA270
analogous
#A22D99 #A22D5F #A2352D
triadic
#A22D5F #5FA22D #2D5FA2
tetradic
#A22D5F #99A22D #2DA270 #352DA2
square
#A22D5F #99A22D #2DA270 #352DA2
split-complementary
#A22D5F #2DA235 #2D99A2
monochromatic
#421227 #722043 #A22D5F #CA427C #D8729D

Accessibility & contrast

On white

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

On black

3.08
#A22D5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A22D5F#FFFFFF#000000##FFFFFF
##A22D5F1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454D60
Deuteranopia (green-blind)
#65635C
Tritanopia (blue-blind)
#AF1E42
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22d5f;
/* rgb */ color: rgb(162, 45, 95);
/* oklch */ color: oklch(49.1% 0.158 358.7);
Tailwind
colors: {
  custom: {
    50: '#c2708c',
    500: '#a22d5f',
    950: '#000000',
  },
}
SCSS
$custom: #a22d5f;
$custom-light: #c2708c;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d5f",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 334.359,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4908,
    "c": 0.15828,
    "h": 358.7
  },
  "luminance": 0.10384
}

Semantic roles & 50–950 ramp

primary
#A22D5F
secondary
#6CBF9B
accent
#E09F48
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A22D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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