#A0287F#A0287F

#A0287F is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.6% C 0.179 H 341.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A0287F
RGBrgb(160, 40, 127)
HSLhsl(317, 60%, 39%)
HSVhsv(317, 75%, 63%)
CMYKcmyk(0%, 75%, 20.6%, 37.3%)
CIE-LABlab(38.77, 56.73, -21.31)
CIE-LCHlch(38.77, 60.60, 339.41°)
OKLaboklab(49.59% 0.17 -0.0573)
OKLCHoklch(49.59% 0.179 341.4)
XYZxyz(19.0874, 10.5254, 21.1009)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0287F #28A049
analogous
#8528A0 #A0287F #A02843
triadic
#A0287F #7FA028 #287FA0
tetradic
#A0287F #A08528 #28A049 #2843A0
square
#A0287F #A08528 #28A049 #2843A0
split-complementary
#A0287F #43A028 #28A085
monochromatic
#3E1031 #6F1C58 #A0287F #CD38A4 #D969BB

Accessibility & contrast

On white

6.76
#A0287F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A0287F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0287F
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0287F#FFFFFF#000000##FFFFFF
##A0287F1.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324F81
Deuteranopia (green-blind)
#59627C
Tritanopia (blue-blind)
#AA2A50
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a0287f;
/* rgb */ color: rgb(160, 40, 127);
/* oklch */ color: oklch(49.6% 0.179 341.4);
Tailwind
colors: {
  custom: {
    50: '#c06ea4',
    500: '#a0287f',
    950: '#000000',
  },
}
SCSS
$custom: #a0287f;
$custom-light: #c06ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#a0287f",
  "rgb": {
    "r": 160,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 316.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49592,
    "c": 0.17939,
    "h": 341.4
  },
  "luminance": 0.10523
}

Semantic roles & 50–950 ramp

primary
#A0287F
secondary
#64C07D
accent
#E37045
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A0287F

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

Preview Lab → · Contrast checker → · Palette generator →

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