#A2286D#A2286D

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

Color values

HEX#A2286D
RGBrgb(162, 40, 109)
HSLhsl(326, 60%, 40%)
HSVhsv(326, 75%, 64%)
CMYKcmyk(0%, 75.3%, 32.7%, 36.5%)
CIE-LABlab(38.38, 54.93, -10.63)
CIE-LCHlch(38.38, 55.95, 349.05°)
OKLaboklab(49.14% 0.168 -0.0276)
OKLCHoklch(49.14% 0.17 350.7)
XYZxyz(18.4204, 10.3052, 15.4841)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2286D #28A25D
analogous
#9A28A2 #A2286D #A22830
triadic
#A2286D #6DA228 #286DA2
tetradic
#A2286D #A29A28 #28A25D #2830A2
square
#A2286D #A29A28 #28A25D #2830A2
split-complementary
#A2286D #30A228 #28A29A
monochromatic
#40102B #711C4C #A2286D #CE398D #DA6AAA

Accessibility & contrast

On white

6.86
#A2286D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A2286D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2286D
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2286D#FFFFFF#000000##FFFFFF
##A2286D1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4C6F
Deuteranopia (green-blind)
#60626A
Tritanopia (blue-blind)
#AE1F47
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a2286d;
/* rgb */ color: rgb(162, 40, 109);
/* oklch */ color: oklch(49.1% 0.170 350.7);
Tailwind
colors: {
  custom: {
    50: '#c26e96',
    500: '#a2286d',
    950: '#000000',
  },
}
SCSS
$custom: #a2286d;
$custom-light: #c26e96;
$custom-dark: #000000;
JSON
{
  "hex": "#a2286d",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 326.066,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49135,
    "c": 0.17029,
    "h": 350.7
  },
  "luminance": 0.10303
}

Semantic roles & 50–950 ramp

primary
#A2286D
secondary
#65C18D
accent
#E48944
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A2286D

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

Preview Lab → · Contrast checker → · Palette generator →

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