#A02287#A02287

#A02287 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.5% C 0.191 H 337.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#A02287
RGBrgb(160, 34, 135)
HSLhsl(312, 65%, 38%)
HSVhsv(312, 79%, 63%)
CMYKcmyk(0%, 78.8%, 15.6%, 37.3%)
CIE-LABlab(38.50, 59.71, -26.68)
CIE-LCHlch(38.50, 65.40, 335.93°)
OKLaboklab(49.52% 0.1766 -0.0725)
OKLCHoklch(49.52% 0.191 337.7)
XYZxyz(19.4428, 10.3688, 23.8944)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02287 #22A03B
analogous
#7A22A0 #A02287 #A02248
triadic
#A02287 #87A022 #2287A0
tetradic
#A02287 #A07A22 #22A03B #2248A0
square
#A02287 #A07A22 #22A03B #2248A0
split-complementary
#A02287 #48A022 #22A07A
monochromatic
#3B0D32 #6E175C #A02287 #D22DB2 #DD5FC4

Accessibility & contrast

On white

6.83
#A02287 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A02287
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02287#FFFFFF#000000##FFFFFF
##A022871.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E8A
Deuteranopia (green-blind)
#546184
Tritanopia (blue-blind)
#A92A53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a02287;
/* rgb */ color: rgb(160, 34, 135);
/* oklch */ color: oklch(49.5% 0.191 337.7);
Tailwind
colors: {
  custom: {
    50: '#c06caa',
    500: '#a02287',
    950: '#000000',
  },
}
SCSS
$custom: #a02287;
$custom-light: #c06caa;
$custom-dark: #000000;
JSON
{
  "hex": "#a02287",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 311.905,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49518,
    "c": 0.19094,
    "h": 337.7
  },
  "luminance": 0.10367
}

Semantic roles & 50–950 ramp

primary
#A02287
secondary
#5CC270
accent
#E86140
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A02287

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

Preview Lab → · Contrast checker → · Palette generator →

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