#A2287E#A2287E

#A2287E is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.180 H 342.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A2287E
RGBrgb(162, 40, 126)
HSLhsl(318, 60%, 40%)
HSVhsv(318, 75%, 64%)
CMYKcmyk(0%, 75.3%, 22.2%, 36.5%)
CIE-LABlab(39.08, 57.09, -20.17)
CIE-LCHlch(39.08, 60.55, 340.54°)
OKLaboklab(49.87% 0.1717 -0.0541)
OKLCHoklch(49.87% 0.18 342.5)
XYZxyz(19.4257, 10.7073, 20.7783)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2287E #28A24C
analogous
#8928A2 #A2287E #A22841
triadic
#A2287E #7EA228 #287EA2
tetradic
#A2287E #A28928 #28A24C #2841A2
square
#A2287E #A28928 #28A24C #2841A2
split-complementary
#A2287E #41A228 #28A289
monochromatic
#401032 #711C58 #A2287E #CE39A2 #DA6AB9

Accessibility & contrast

On white

6.69
#A2287E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A2287E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2287E
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2287E#FFFFFF#000000##FFFFFF
##A2287E1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F80
Deuteranopia (green-blind)
#5A637B
Tritanopia (blue-blind)
#AC2950
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a2287e;
/* rgb */ color: rgb(162, 40, 126);
/* oklch */ color: oklch(49.9% 0.180 342.5);
Tailwind
colors: {
  custom: {
    50: '#c16ea3',
    500: '#a2287e',
    950: '#000000',
  },
}
SCSS
$custom: #a2287e;
$custom-light: #c16ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#a2287e",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 317.705,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49872,
    "c": 0.18005,
    "h": 342.5
  },
  "luminance": 0.10705
}

Semantic roles & 50–950 ramp

primary
#A2287E
secondary
#65C180
accent
#E47344
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A2287E

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

Preview Lab → · Contrast checker → · Palette generator →

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