#A22951#A22951

#A22951 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.3% C 0.159 H 5.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#A22951
RGBrgb(162, 41, 81)
HSLhsl(340, 60%, 40%)
HSVhsv(340, 75%, 64%)
CMYKcmyk(0%, 74.7%, 50%, 36.5%)
CIE-LABlab(37.60, 51.68, 6.00)
CIE-LCHlch(37.60, 52.03, 6.62°)
OKLaboklab(48.26% 0.1579 0.0158)
OKLCHoklch(48.26% 0.159 5.7)
XYZxyz(17.1799, 9.8637, 8.7822)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22951 #29A27A
analogous
#A2298E #A22951 #A23D29
triadic
#A22951 #51A229 #2951A2
tetradic
#A22951 #8EA229 #29A27A #3D29A2
square
#A22951 #8EA229 #29A27A #3D29A2
split-complementary
#A22951 #29A23D #298EA2
monochromatic
#401020 #711D39 #A22951 #CD3B6B #DA6C90

Accessibility & contrast

On white

7.07
#A22951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#A22951 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22951
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22951#FFFFFF#000000##FFFFFF
##A229511.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464952
Deuteranopia (green-blind)
#66614E
Tritanopia (blue-blind)
#B10E3A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a22951;
/* rgb */ color: rgb(162, 41, 81);
/* oklch */ color: oklch(48.3% 0.159 5.7);
Tailwind
colors: {
  custom: {
    50: '#c36d81',
    500: '#a22951',
    950: '#000000',
  },
}
SCSS
$custom: #a22951;
$custom-light: #c36d81;
$custom-dark: #000000;
JSON
{
  "hex": "#a22951",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 81
  },
  "hsl": {
    "h": 340.165,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48259,
    "c": 0.15863,
    "h": 5.7
  },
  "luminance": 0.09861
}

Semantic roles & 50–950 ramp

primary
#A22951
secondary
#67C0A3
accent
#E3AF45
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14080A
muted
#827A7C

Preview Lab

Preview with #A22951

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

Preview Lab → · Contrast checker → · Palette generator →

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