#A2286B#A2286B

#A2286B is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.169 H 351.7°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A2286B
RGBrgb(162, 40, 107)
HSLhsl(327, 60%, 40%)
HSVhsv(327, 75%, 64%)
CMYKcmyk(0%, 75.3%, 34%, 36.5%)
CIE-LABlab(38.31, 54.70, -9.48)
CIE-LCHlch(38.31, 55.51, 350.17°)
OKLaboklab(49.06% 0.1675 -0.0245)
OKLCHoklch(49.06% 0.169 351.7)
XYZxyz(18.3140, 10.2627, 14.9235)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2286B #28A25F
analogous
#9C28A2 #A2286B #A2282E
triadic
#A2286B #6BA228 #286BA2
tetradic
#A2286B #A29C28 #28A25F #282EA2
square
#A2286B #A29C28 #28A25F #282EA2
split-complementary
#A2286B #2EA228 #28A29C
monochromatic
#40102A #711C4B #A2286B #CE398B #DA6AA8

Accessibility & contrast

On white

6.88
#A2286B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A2286B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2286B
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2286B#FFFFFF#000000##FFFFFF
##A2286B1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4C6D
Deuteranopia (green-blind)
#606268
Tritanopia (blue-blind)
#AE1E46
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a2286b;
/* rgb */ color: rgb(162, 40, 107);
/* oklch */ color: oklch(49.1% 0.169 351.7);
Tailwind
colors: {
  custom: {
    50: '#c26e95',
    500: '#a2286b',
    950: '#000000',
  },
}
SCSS
$custom: #a2286b;
$custom-light: #c26e95;
$custom-dark: #000000;
JSON
{
  "hex": "#a2286b",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 327.049,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49056,
    "c": 0.16929,
    "h": 351.7
  },
  "luminance": 0.10261
}

Semantic roles & 50–950 ramp

primary
#A2286B
secondary
#65C18E
accent
#E48C44
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A2286B

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

Preview Lab → · Contrast checker → · Palette generator →

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