#A22A5F#A22A5F

#A22A5F is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.8% C 0.162 H 358.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A22A5F
RGBrgb(162, 42, 95)
HSLhsl(334, 59%, 40%)
HSVhsv(334, 74%, 64%)
CMYKcmyk(0%, 74.1%, 41.4%, 36.5%)
CIE-LABlab(38.14, 52.68, -2.14)
CIE-LCHlch(38.14, 52.73, 357.67°)
OKLaboklab(48.79% 0.1617 -0.005)
OKLCHoklch(48.79% 0.162 358.2)
XYZxyz(17.7951, 10.1658, 11.8494)
Luminance0.1016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22A5F #2AA26D
analogous
#A22A9B #A22A5F #A2312A
triadic
#A22A5F #5FA22A #2A5FA2
tetradic
#A22A5F #9BA22A #2AA26D #312AA2
square
#A22A5F #9BA22A #2AA26D #312AA2
split-complementary
#A22A5F #2AA231 #2A9BA2
monochromatic
#411126 #711D42 #A22A5F #CD3D7C #D96D9D

Accessibility & contrast

On white

6.92
#A22A5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22A5F
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22A5F#FFFFFF#000000##FFFFFF
##A22A5F1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434B60
Deuteranopia (green-blind)
#64625C
Tritanopia (blue-blind)
#AF1A41
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a22a5f;
/* rgb */ color: rgb(162, 42, 95);
/* oklch */ color: oklch(48.8% 0.162 358.2);
Tailwind
colors: {
  custom: {
    50: '#c26e8c',
    500: '#a22a5f',
    950: '#000000',
  },
}
SCSS
$custom: #a22a5f;
$custom-light: #c26e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#a22a5f",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 333.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.48794,
    "c": 0.16178,
    "h": 358.2
  },
  "luminance": 0.10164
}

Semantic roles & 50–950 ramp

primary
#A22A5F
secondary
#68C099
accent
#E29D46
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A22A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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