#A22148#A22148

#A22148 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.165 H 9.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#A22148
RGBrgb(162, 33, 72)
HSLhsl(342, 66%, 38%)
HSVhsv(342, 80%, 64%)
CMYKcmyk(0%, 79.6%, 55.6%, 36.5%)
CIE-LABlab(36.44, 53.53, 10.15)
CIE-LCHlch(36.44, 54.49, 10.74°)
OKLaboklab(47.33% 0.1627 0.0258)
OKLCHoklch(47.33% 0.165 9)
XYZxyz(16.6154, 9.2394, 7.0381)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22148 #21A27B
analogous
#A22189 #A22148 #A23A21
triadic
#A22148 #48A221 #2148A2
tetradic
#A22148 #89A221 #21A27B #3A21A2
square
#A22148 #89A221 #21A27B #3A21A2
split-complementary
#A22148 #21A23A #2189A2
monochromatic
#3C0C1B #6F1731 #A22148 #D42C5F #DE5F86

Accessibility & contrast

On white

7.38
#A22148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#A22148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22148
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22148#FFFFFF#000000##FFFFFF
##A221481.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444549
Deuteranopia (green-blind)
#655F45
Tritanopia (blue-blind)
#B10032
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a22148;
/* rgb */ color: rgb(162, 33, 72);
/* oklch */ color: oklch(47.3% 0.165 9.0);
Tailwind
colors: {
  custom: {
    50: '#c46a7a',
    500: '#a22148',
    950: '#000000',
  },
}
SCSS
$custom: #a22148;
$custom-light: #c46a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a22148",
  "rgb": {
    "r": 162,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 341.86,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47331,
    "c": 0.16477,
    "h": 9
  },
  "luminance": 0.09237
}

Semantic roles & 50–950 ramp

primary
#A22148
secondary
#5CC3A4
accent
#E9B63F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #A22148

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

Preview Lab → · Contrast checker → · Palette generator →

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