#A22864#A22864

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

Color values

HEX#A22864
RGBrgb(162, 40, 100)
HSLhsl(330, 60%, 40%)
HSVhsv(330, 75%, 64%)
CMYKcmyk(0%, 75.3%, 38.3%, 36.5%)
CIE-LABlab(38.06, 53.91, -5.43)
CIE-LCHlch(38.06, 54.18, 354.25°)
OKLaboklab(48.79% 0.1655 -0.0136)
OKLCHoklch(48.79% 0.166 355.3)
XYZxyz(17.9605, 10.1213, 13.0619)
Luminance0.1012 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22864 #28A266
analogous
#A228A1 #A22864 #A22928
triadic
#A22864 #64A228 #2864A2
tetradic
#A22864 #A1A228 #28A266 #2928A2
square
#A22864 #A1A228 #28A266 #2928A2
split-complementary
#A22864 #28A229 #28A1A2
monochromatic
#401027 #711C46 #A22864 #CE3982 #DA6AA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A22864#FFFFFF#000000##FFFFFF
##A228641.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404B66
Deuteranopia (green-blind)
#626261
Tritanopia (blue-blind)
#AF1A42
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a22864;
/* rgb */ color: rgb(162, 40, 100);
/* oklch */ color: oklch(48.8% 0.166 355.3);
Tailwind
colors: {
  custom: {
    50: '#c26e90',
    500: '#a22864',
    950: '#000000',
  },
}
SCSS
$custom: #a22864;
$custom-light: #c26e90;
$custom-dark: #000000;
JSON
{
  "hex": "#a22864",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 100
  },
  "hsl": {
    "h": 330.492,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48791,
    "c": 0.16605,
    "h": 355.3
  },
  "luminance": 0.10119
}

Semantic roles & 50–950 ramp

primary
#A22864
secondary
#65C194
accent
#E49544
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A22864

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

Preview Lab → · Contrast checker → · Palette generator →

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