#A7287E#A7287E

#A7287E is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.183 H 344.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A7287E
RGBrgb(167, 40, 126)
HSLhsl(319, 61%, 41%)
HSVhsv(319, 76%, 65%)
CMYKcmyk(0%, 76%, 24.6%, 34.5%)
CIE-LABlab(39.98, 58.35, -18.71)
CIE-LCHlch(39.98, 61.28, 342.22°)
OKLaboklab(50.69% 0.1764 -0.0499)
OKLCHoklch(50.69% 0.183 344.2)
XYZxyz(20.4619, 11.2416, 20.8269)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7287E #28A751
analogous
#9028A7 #A7287E #A7283E
triadic
#A7287E #7EA728 #287EA7
tetradic
#A7287E #A79028 #28A751 #283EA7
square
#A7287E #A79028 #28A751 #283EA7
split-complementary
#A7287E #3EA728 #28A790
monochromatic
#441033 #761C59 #A7287E #D03CA0 #DC6DB8

Accessibility & contrast

On white

6.47
#A7287E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A7287E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7287E
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7287E#FFFFFF#000000##FFFFFF
##A7287E1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375180
Deuteranopia (green-blind)
#5E667B
Tritanopia (blue-blind)
#B22750
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a7287e;
/* rgb */ color: rgb(167, 40, 126);
/* oklch */ color: oklch(50.7% 0.183 344.2);
Tailwind
colors: {
  custom: {
    50: '#c56fa3',
    500: '#a7287e',
    950: '#000000',
  },
}
SCSS
$custom: #a7287e;
$custom-light: #c56fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#a7287e",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 319.37,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50694,
    "c": 0.18335,
    "h": 344.2
  },
  "luminance": 0.11239
}

Semantic roles & 50–950 ramp

primary
#A7287E
secondary
#68C385
accent
#E47743
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A7287E

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

Preview Lab → · Contrast checker → · Palette generator →

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