#A22866#A22866

#A22866 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.167 H 354.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#A22866
RGBrgb(162, 40, 102)
HSLhsl(330, 60%, 40%)
HSVhsv(330, 75%, 64%)
CMYKcmyk(0%, 75.3%, 37%, 36.5%)
CIE-LABlab(38.13, 54.13, -6.59)
CIE-LCHlch(38.13, 54.53, 353.05°)
OKLaboklab(48.86% 0.1661 -0.0167)
OKLCHoklch(48.86% 0.167 354.2)
XYZxyz(18.0585, 10.1605, 13.5780)
Luminance0.1016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22866 #28A264
analogous
#A128A2 #A22866 #A22829
triadic
#A22866 #66A228 #2866A2
tetradic
#A22866 #A2A128 #28A264 #2829A2
square
#A22866 #A2A128 #28A264 #2829A2
split-complementary
#A22866 #29A228 #28A2A1
monochromatic
#401028 #711C47 #A22866 #CE3985 #DA6AA3

Accessibility & contrast

On white

6.93
#A22866 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22866
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22866#FFFFFF#000000##FFFFFF
##A228661.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4B68
Deuteranopia (green-blind)
#616263
Tritanopia (blue-blind)
#AF1B43
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a22866;
/* rgb */ color: rgb(162, 40, 102);
/* oklch */ color: oklch(48.9% 0.167 354.2);
Tailwind
colors: {
  custom: {
    50: '#c26e91',
    500: '#a22866',
    950: '#000000',
  },
}
SCSS
$custom: #a22866;
$custom-light: #c26e91;
$custom-dark: #000000;
JSON
{
  "hex": "#a22866",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 329.508,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48864,
    "c": 0.16693,
    "h": 354.2
  },
  "luminance": 0.10158
}

Semantic roles & 50–950 ramp

primary
#A22866
secondary
#65C192
accent
#E49344
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A22866

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

Preview Lab → · Contrast checker → · Palette generator →

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