#A22862#A22862

#A22862 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.165 H 356.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#A22862
RGBrgb(162, 40, 98)
HSLhsl(331, 60%, 40%)
HSVhsv(331, 75%, 64%)
CMYKcmyk(0%, 75.3%, 39.5%, 36.5%)
CIE-LABlab(37.99, 53.69, -4.27)
CIE-LCHlch(37.99, 53.86, 355.46°)
OKLaboklab(48.72% 0.1649 -0.0105)
OKLCHoklch(48.72% 0.165 356.3)
XYZxyz(17.8649, 10.0830, 12.5584)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22862 #28A268
analogous
#A2289F #A22862 #A22B28
triadic
#A22862 #62A228 #2862A2
tetradic
#A22862 #9FA228 #28A268 #2B28A2
square
#A22862 #9FA228 #28A268 #2B28A2
split-complementary
#A22862 #28A22B #289FA2
monochromatic
#401027 #711C44 #A22862 #CE3980 #DA6A9F

Accessibility & contrast

On white

6.96
#A22862 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#A22862 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22862
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22862#FFFFFF#000000##FFFFFF
##A228621.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414B63
Deuteranopia (green-blind)
#62625F
Tritanopia (blue-blind)
#AF1941
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a22862;
/* rgb */ color: rgb(162, 40, 98);
/* oklch */ color: oklch(48.7% 0.165 356.3);
Tailwind
colors: {
  custom: {
    50: '#c26d8e',
    500: '#a22862',
    950: '#000000',
  },
}
SCSS
$custom: #a22862;
$custom-light: #c26d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#a22862",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 98
  },
  "hsl": {
    "h": 331.475,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48718,
    "c": 0.16521,
    "h": 356.3
  },
  "luminance": 0.10081
}

Semantic roles & 50–950 ramp

primary
#A22862
secondary
#65C195
accent
#E49844
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A22862

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

Preview Lab → · Contrast checker → · Palette generator →

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