#A22958#A22958

#A22958 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.5% C 0.161 H 1.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#A22958
RGBrgb(162, 41, 88)
HSLhsl(337, 60%, 40%)
HSVhsv(337, 75%, 64%)
CMYKcmyk(0%, 74.7%, 45.7%, 36.5%)
CIE-LABlab(37.80, 52.33, 1.81)
CIE-LCHlch(37.80, 52.36, 1.98°)
OKLaboklab(48.47% 0.1604 0.0052)
OKLCHoklch(48.47% 0.161 1.9)
XYZxyz(17.4561, 9.9741, 10.2366)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22958 #29A273
analogous
#A22995 #A22958 #A23629
triadic
#A22958 #58A229 #2958A2
tetradic
#A22958 #95A229 #29A273 #3629A2
square
#A22958 #95A229 #29A273 #3629A2
split-complementary
#A22958 #29A236 #2995A2
monochromatic
#401023 #711D3D #A22958 #CD3B74 #DA6C96

Accessibility & contrast

On white

7.01
#A22958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#A22958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22958
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22958#FFFFFF#000000##FFFFFF
##A229581.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444A59
Deuteranopia (green-blind)
#656155
Tritanopia (blue-blind)
#B0133D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a22958;
/* rgb */ color: rgb(162, 41, 88);
/* oklch */ color: oklch(48.5% 0.161 1.9);
Tailwind
colors: {
  custom: {
    50: '#c36e87',
    500: '#a22958',
    950: '#000000',
  },
}
SCSS
$custom: #a22958;
$custom-light: #c36e87;
$custom-dark: #000000;
JSON
{
  "hex": "#a22958",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 88
  },
  "hsl": {
    "h": 336.694,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48471,
    "c": 0.16051,
    "h": 1.9
  },
  "luminance": 0.09972
}

Semantic roles & 50–950 ramp

primary
#A22958
secondary
#67C09D
accent
#E3A545
background
#FCF7F8
surface
#F9EDEF
border
#D2C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A22958

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

Preview Lab → · Contrast checker → · Palette generator →

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