#A2286C#A2286C

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

Color values

HEX#A2286C
RGBrgb(162, 40, 108)
HSLhsl(327, 60%, 40%)
HSVhsv(327, 75%, 64%)
CMYKcmyk(0%, 75.3%, 33.3%, 36.5%)
CIE-LABlab(38.35, 54.82, -10.05)
CIE-LCHlch(38.35, 55.73, 349.61°)
OKLaboklab(49.1% 0.1678 -0.0261)
OKLCHoklch(49.1% 0.17 351.2)
XYZxyz(18.3669, 10.2838, 15.2022)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2286C #28A25E
analogous
#9B28A2 #A2286C #A2282F
triadic
#A2286C #6CA228 #286CA2
tetradic
#A2286C #A29B28 #28A25E #282FA2
square
#A2286C #A29B28 #28A25E #282FA2
split-complementary
#A2286C #2FA228 #28A29B
monochromatic
#40102B #711C4B #A2286C #CE398C #DA6AA9

Accessibility & contrast

On white

6.87
#A2286C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A2286C
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2286C#FFFFFF#000000##FFFFFF
##A2286C1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4C6E
Deuteranopia (green-blind)
#606269
Tritanopia (blue-blind)
#AE1F46
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a2286c;
/* rgb */ color: rgb(162, 40, 108);
/* oklch */ color: oklch(49.1% 0.170 351.2);
Tailwind
colors: {
  custom: {
    50: '#c26e96',
    500: '#a2286c',
    950: '#000000',
  },
}
SCSS
$custom: #a2286c;
$custom-light: #c26e96;
$custom-dark: #000000;
JSON
{
  "hex": "#a2286c",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 326.557,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49096,
    "c": 0.16978,
    "h": 351.2
  },
  "luminance": 0.10282
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2286C

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

Preview Lab → · Contrast checker → · Palette generator →

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