#A22C5F#A22C5F

#A22C5F is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.159 H 358.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A22C5F
RGBrgb(162, 44, 95)
HSLhsl(334, 57%, 40%)
HSVhsv(334, 73%, 64%)
CMYKcmyk(0%, 72.8%, 41.4%, 36.5%)
CIE-LABlab(38.40, 51.96, -1.77)
CIE-LCHlch(38.40, 51.99, 358.05°)
OKLaboklab(48.98% 0.1594 -0.004)
OKLCHoklch(48.98% 0.159 358.6)
XYZxyz(17.8678, 10.3112, 11.8736)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22C5F #2CA26F
analogous
#A22C9A #A22C5F #A2342C
triadic
#A22C5F #5FA22C #2C5FA2
tetradic
#A22C5F #9AA22C #2CA26F #342CA2
square
#A22C5F #9AA22C #2CA26F #342CA2
split-complementary
#A22C5F #2CA234 #2C9AA2
monochromatic
#421227 #721F43 #A22C5F #CB407C #D8709D

Accessibility & contrast

On white

6.86
#A22C5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A22C5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22C5F
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22C5F#FFFFFF#000000##FFFFFF
##A22C5F1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444C60
Deuteranopia (green-blind)
#64635C
Tritanopia (blue-blind)
#AF1D42
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a22c5f;
/* rgb */ color: rgb(162, 44, 95);
/* oklch */ color: oklch(49.0% 0.159 358.6);
Tailwind
colors: {
  custom: {
    50: '#c26f8c',
    500: '#a22c5f',
    950: '#000000',
  },
}
SCSS
$custom: #a22c5f;
$custom-light: #c26f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#a22c5f",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 95
  },
  "hsl": {
    "h": 334.068,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48983,
    "c": 0.15946,
    "h": 358.6
  },
  "luminance": 0.10309
}

Semantic roles & 50–950 ramp

primary
#A22C5F
secondary
#6ABF9B
accent
#E19E47
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A22C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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