#A2287C#A2287C

#A2287C is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.179 H 343.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A2287C
RGBrgb(162, 40, 124)
HSLhsl(319, 60%, 40%)
HSVhsv(319, 75%, 64%)
CMYKcmyk(0%, 75.3%, 23.5%, 36.5%)
CIE-LABlab(39.00, 56.82, -19.07)
CIE-LCHlch(39.00, 59.94, 341.45°)
OKLaboklab(49.78% 0.1714 -0.051)
OKLCHoklch(49.78% 0.179 343.4)
XYZxyz(19.2979, 10.6562, 20.1054)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2287C #28A24E
analogous
#8B28A2 #A2287C #A2283F
triadic
#A2287C #7CA228 #287CA2
tetradic
#A2287C #A28B28 #28A24E #283FA2
square
#A2287C #A28B28 #28A24E #283FA2
split-complementary
#A2287C #3FA228 #28A28B
monochromatic
#401031 #711C56 #A2287C #CE39A0 #DA6AB7

Accessibility & contrast

On white

6.71
#A2287C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A2287C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2287C
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2287C#FFFFFF#000000##FFFFFF
##A2287C1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7E
Deuteranopia (green-blind)
#5B6379
Tritanopia (blue-blind)
#AD284F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a2287c;
/* rgb */ color: rgb(162, 40, 124);
/* oklch */ color: oklch(49.8% 0.179 343.4);
Tailwind
colors: {
  custom: {
    50: '#c16ea2',
    500: '#a2287c',
    950: '#000000',
  },
}
SCSS
$custom: #a2287c;
$custom-light: #c16ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#a2287c",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 318.689,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4978,
    "c": 0.1788,
    "h": 343.4
  },
  "luminance": 0.10654
}

Semantic roles & 50–950 ramp

primary
#A2287C
secondary
#65C182
accent
#E47644
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A2287C

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

Preview Lab → · Contrast checker → · Palette generator →

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