#A7287D#A7287D

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

Color values

HEX#A7287D
RGBrgb(167, 40, 125)
HSLhsl(320, 61%, 41%)
HSVhsv(320, 76%, 65%)
CMYKcmyk(0%, 76%, 25.1%, 34.5%)
CIE-LABlab(39.94, 58.23, -18.16)
CIE-LCHlch(39.94, 60.99, 342.68°)
OKLaboklab(50.65% 0.1762 -0.0484)
OKLCHoklch(50.65% 0.183 344.6)
XYZxyz(20.3977, 11.2159, 20.4887)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7287D #28A752
analogous
#9228A7 #A7287D #A7283D
triadic
#A7287D #7DA728 #287DA7
tetradic
#A7287D #A79228 #28A752 #283DA7
square
#A7287D #A79228 #28A752 #283DA7
split-complementary
#A7287D #3DA728 #28A792
monochromatic
#441033 #761C58 #A7287D #D03C9F #DC6DB7

Accessibility & contrast

On white

6.48
#A7287D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A7287D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7287D
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7287D#FFFFFF#000000##FFFFFF
##A7287D1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38517F
Deuteranopia (green-blind)
#5F667A
Tritanopia (blue-blind)
#B2264F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a7287d;
/* rgb */ color: rgb(167, 40, 125);
/* oklch */ color: oklch(50.6% 0.183 344.6);
Tailwind
colors: {
  custom: {
    50: '#c56fa2',
    500: '#a7287d',
    950: '#000000',
  },
}
SCSS
$custom: #a7287d;
$custom-light: #c56fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#a7287d",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 319.843,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50649,
    "c": 0.18275,
    "h": 344.6
  },
  "luminance": 0.11214
}

Semantic roles & 50–950 ramp

primary
#A7287D
secondary
#68C386
accent
#E47943
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A7287D

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

Preview Lab → · Contrast checker → · Palette generator →

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