#A22865#A22865

#A22865 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.166 H 354.8°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#A22865
RGBrgb(162, 40, 101)
HSLhsl(330, 60%, 40%)
HSVhsv(330, 75%, 64%)
CMYKcmyk(0%, 75.3%, 37.7%, 36.5%)
CIE-LABlab(38.09, 54.02, -6.01)
CIE-LCHlch(38.09, 54.35, 353.65°)
OKLaboklab(48.83% 0.1658 -0.0152)
OKLCHoklch(48.83% 0.166 354.8)
XYZxyz(18.0092, 10.1408, 13.3184)
Luminance0.1014 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22865 #28A265
analogous
#A228A2 #A22865 #A22828
triadic
#A22865 #65A228 #2865A2
tetradic
#A22865 #A2A228 #28A265 #2828A2
square
#A22865 #A2A228 #28A265 #2828A2
split-complementary
#A22865 #28A228 #28A2A2
monochromatic
#401028 #711C46 #A22865 #CE3984 #DA6AA2

Accessibility & contrast

On white

6.94
#A22865 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A22865 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22865
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22865#FFFFFF#000000##FFFFFF
##A228651.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404B67
Deuteranopia (green-blind)
#626262
Tritanopia (blue-blind)
#AF1A43
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a22865;
/* rgb */ color: rgb(162, 40, 101);
/* oklch */ color: oklch(48.8% 0.166 354.8);
Tailwind
colors: {
  custom: {
    50: '#c26e90',
    500: '#a22865',
    950: '#000000',
  },
}
SCSS
$custom: #a22865;
$custom-light: #c26e90;
$custom-dark: #000000;
JSON
{
  "hex": "#a22865",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 101
  },
  "hsl": {
    "h": 330,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48827,
    "c": 0.16648,
    "h": 354.8
  },
  "luminance": 0.10139
}

Semantic roles & 50–950 ramp

primary
#A22865
secondary
#65C193
accent
#E49444
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A22865

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

Preview Lab → · Contrast checker → · Palette generator →

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