#A22E5F#A22E5F

#A22E5F is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.2% C 0.157 H 358.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A22E5F
RGBrgb(162, 46, 95)
HSLhsl(335, 56%, 41%)
HSVhsv(335, 72%, 64%)
CMYKcmyk(0%, 71.6%, 41.4%, 36.5%)
CIE-LABlab(38.66, 51.22, -1.37)
CIE-LCHlch(38.66, 51.24, 358.46°)
OKLaboklab(49.18% 0.1571 -0.003)
OKLCHoklch(49.18% 0.157 358.9)
XYZxyz(17.9441, 10.4638, 11.8990)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22E5F #2EA271
analogous
#A22E99 #A22E5F #A2372E
triadic
#A22E5F #5FA22E #2E5FA2
tetradic
#A22E5F #99A22E #2EA271 #372EA2
square
#A22E5F #99A22E #2EA271 #372EA2
split-complementary
#A22E5F #2EA237 #2E99A2
monochromatic
#431327 #722043 #A22E5F #CA437C #D7739D

Accessibility & contrast

On white

6.79
#A22E5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A22E5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22E5F
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22E5F#FFFFFF#000000##FFFFFF
##A22E5F1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22e5f;
/* rgb */ color: rgb(162, 46, 95);
/* oklch */ color: oklch(49.2% 0.157 358.9);
Tailwind
colors: {
  custom: {
    50: '#c2708c',
    500: '#a22e5f',
    950: '#000000',
  },
}
SCSS
$custom: #a22e5f;
$custom-light: #c2708c;
$custom-dark: #000000;
JSON
{
  "hex": "#a22e5f",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 95
  },
  "hsl": {
    "h": 334.655,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4918,
    "c": 0.15708,
    "h": 358.9
  },
  "luminance": 0.10462
}

Semantic roles & 50–950 ramp

primary
#A22E5F
secondary
#6DBF9C
accent
#DFA049
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A22E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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