#A7286C#A7286C

#A7286C is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.174 H 352.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A7286C
RGBrgb(167, 40, 108)
HSLhsl(328, 61%, 41%)
HSVhsv(328, 76%, 65%)
CMYKcmyk(0%, 76%, 35.3%, 34.5%)
CIE-LABlab(39.27, 56.16, -8.57)
CIE-LCHlch(39.27, 56.81, 351.33°)
OKLaboklab(49.94% 0.1722 -0.022)
OKLCHoklch(49.94% 0.174 352.7)
XYZxyz(19.4031, 10.8181, 15.2508)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7286C #28A763
analogous
#A228A7 #A7286C #A7282C
triadic
#A7286C #6CA728 #286CA7
tetradic
#A7286C #A7A228 #28A763 #282CA7
square
#A7286C #A7A228 #28A763 #282CA7
split-complementary
#A7286C #2CA728 #28A7A2
monochromatic
#44102C #761C4C #A7286C #D03C8B #DC6DA9

Accessibility & contrast

On white

6.64
#A7286C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A7286C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7286C
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7286C#FFFFFF#000000##FFFFFF
##A7286C1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4E6E
Deuteranopia (green-blind)
#636569
Tritanopia (blue-blind)
#B41C46
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a7286c;
/* rgb */ color: rgb(167, 40, 108);
/* oklch */ color: oklch(49.9% 0.174 352.7);
Tailwind
colors: {
  custom: {
    50: '#c66f96',
    500: '#a7286c',
    950: '#000000',
  },
}
SCSS
$custom: #a7286c;
$custom-light: #c66f96;
$custom-dark: #000000;
JSON
{
  "hex": "#a7286c",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 327.874,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49943,
    "c": 0.17362,
    "h": 352.7
  },
  "luminance": 0.10816
}

Semantic roles & 50–950 ramp

primary
#A7286C
secondary
#68C392
accent
#E48E43
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #A7286C

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

Preview Lab → · Contrast checker → · Palette generator →

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