#A22858#A22858

#A22858 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.162 H 1.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#A22858
RGBrgb(162, 40, 88)
HSLhsl(336, 60%, 40%)
HSVhsv(336, 75%, 64%)
CMYKcmyk(0%, 75.3%, 45.7%, 36.5%)
CIE-LABlab(37.67, 52.68, 1.63)
CIE-LCHlch(37.67, 52.70, 1.77°)
OKLaboklab(48.38% 0.1615 0.0048)
OKLCHoklch(48.38% 0.162 1.7)
XYZxyz(17.4219, 9.9058, 10.2252)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22858 #28A272
analogous
#A22895 #A22858 #A23528
triadic
#A22858 #58A228 #2858A2
tetradic
#A22858 #95A228 #28A272 #3528A2
square
#A22858 #95A228 #28A272 #3528A2
split-complementary
#A22858 #28A235 #2895A2
monochromatic
#401023 #711C3D #A22858 #CE3974 #DA6A96

Accessibility & contrast

On white

7.05
#A22858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#A22858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22858
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22858#FFFFFF#000000##FFFFFF
##A228581.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22858;
/* rgb */ color: rgb(162, 40, 88);
/* oklch */ color: oklch(48.4% 0.162 1.7);
Tailwind
colors: {
  custom: {
    50: '#c36d87',
    500: '#a22858',
    950: '#000000',
  },
}
SCSS
$custom: #a22858;
$custom-light: #c36d87;
$custom-dark: #000000;
JSON
{
  "hex": "#a22858",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 88
  },
  "hsl": {
    "h": 336.393,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4838,
    "c": 0.1616,
    "h": 1.7
  },
  "luminance": 0.09904
}

Semantic roles & 50–950 ramp

primary
#A22858
secondary
#65C19D
accent
#E4A544
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A22858

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

Preview Lab → · Contrast checker → · Palette generator →

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