#A22857#A22857

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

Color values

HEX#A22857
RGBrgb(162, 40, 87)
HSLhsl(337, 60%, 40%)
HSVhsv(337, 75%, 64%)
CMYKcmyk(0%, 75.3%, 46.3%, 36.5%)
CIE-LABlab(37.64, 52.58, 2.23)
CIE-LCHlch(37.64, 52.63, 2.43°)
OKLaboklab(48.35% 0.1612 0.0063)
OKLCHoklch(48.35% 0.161 2.2)
XYZxyz(17.3808, 9.8894, 10.0086)
Luminance0.0989 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22857 #28A273
analogous
#A22894 #A22857 #A23628
triadic
#A22857 #57A228 #2857A2
tetradic
#A22857 #94A228 #28A273 #3628A2
square
#A22857 #94A228 #28A273 #3628A2
split-complementary
#A22857 #28A236 #2894A2
monochromatic
#401022 #711C3D #A22857 #CE3972 #DA6A95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A22857#FFFFFF#000000##FFFFFF
##A228571.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)
#444958
Deuteranopia (green-blind)
#656154
Tritanopia (blue-blind)
#B0113C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a22857;
/* rgb */ color: rgb(162, 40, 87);
/* oklch */ color: oklch(48.3% 0.161 2.2);
Tailwind
colors: {
  custom: {
    50: '#c36d86',
    500: '#a22857',
    950: '#000000',
  },
}
SCSS
$custom: #a22857;
$custom-light: #c36d86;
$custom-dark: #000000;
JSON
{
  "hex": "#a22857",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 87
  },
  "hsl": {
    "h": 336.885,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48349,
    "c": 0.16129,
    "h": 2.2
  },
  "luminance": 0.09887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A22857

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

Preview Lab → · Contrast checker → · Palette generator →

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