#A7287F#A7287F

#A7287F is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.184 H 343.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A7287F
RGBrgb(167, 40, 127)
HSLhsl(319, 61%, 41%)
HSVhsv(319, 76%, 65%)
CMYKcmyk(0%, 76%, 24%, 34.5%)
CIE-LABlab(40.03, 58.48, -19.26)
CIE-LCHlch(40.03, 61.58, 341.77°)
OKLaboklab(50.74% 0.1766 -0.0515)
OKLCHoklch(50.74% 0.184 343.8)
XYZxyz(20.5267, 11.2676, 21.1684)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7287F #28A750
analogous
#9028A7 #A7287F #A7283F
triadic
#A7287F #7FA728 #287FA7
tetradic
#A7287F #A79028 #28A750 #283FA7
square
#A7287F #A79028 #28A750 #283FA7
split-complementary
#A7287F #3FA728 #28A790
monochromatic
#441034 #761C59 #A7287F #D03CA2 #DC6DB9

Accessibility & contrast

On white

6.46
#A7287F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7287F
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7287F#FFFFFF#000000##FFFFFF
##A7287F1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375181
Deuteranopia (green-blind)
#5E667C
Tritanopia (blue-blind)
#B22850
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a7287f;
/* rgb */ color: rgb(167, 40, 127);
/* oklch */ color: oklch(50.7% 0.184 343.8);
Tailwind
colors: {
  custom: {
    50: '#c56fa4',
    500: '#a7287f',
    950: '#000000',
  },
}
SCSS
$custom: #a7287f;
$custom-light: #c56fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#a7287f",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 318.898,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50739,
    "c": 0.18396,
    "h": 343.8
  },
  "luminance": 0.11265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7287F

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

Preview Lab → · Contrast checker → · Palette generator →

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