#A2286F#A2286F

#A2286F is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.171 H 349.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#A2286F
RGBrgb(162, 40, 111)
HSLhsl(325, 60%, 40%)
HSVhsv(325, 75%, 64%)
CMYKcmyk(0%, 75.3%, 31.5%, 36.5%)
CIE-LABlab(38.46, 55.17, -11.77)
CIE-LCHlch(38.46, 56.41, 347.96°)
OKLaboklab(49.22% 0.1686 -0.0307)
OKLCHoklch(49.22% 0.171 349.7)
XYZxyz(18.5293, 10.3488, 16.0576)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2286F #28A25B
analogous
#9828A2 #A2286F #A22832
triadic
#A2286F #6FA228 #286FA2
tetradic
#A2286F #A29828 #28A25B #2832A2
square
#A2286F #A29828 #28A25B #2832A2
split-complementary
#A2286F #32A228 #28A298
monochromatic
#40102C #711C4D #A2286F #CE3990 #DA6AAB

Accessibility & contrast

On white

6.84
#A2286F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A2286F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2286F
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2286F#FFFFFF#000000##FFFFFF
##A2286F1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4D71
Deuteranopia (green-blind)
#5F626C
Tritanopia (blue-blind)
#AE2148
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a2286f;
/* rgb */ color: rgb(162, 40, 111);
/* oklch */ color: oklch(49.2% 0.171 349.7);
Tailwind
colors: {
  custom: {
    50: '#c26e98',
    500: '#a2286f',
    950: '#000000',
  },
}
SCSS
$custom: #a2286f;
$custom-light: #c26e98;
$custom-dark: #000000;
JSON
{
  "hex": "#a2286f",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 325.082,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49216,
    "c": 0.17133,
    "h": 349.7
  },
  "luminance": 0.10347
}

Semantic roles & 50–950 ramp

primary
#A2286F
secondary
#65C18B
accent
#E48744
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A2286F

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

Preview Lab → · Contrast checker → · Palette generator →

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