#A7286B#A7286B

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

Color values

HEX#A7286B
RGBrgb(167, 40, 107)
HSLhsl(328, 61%, 41%)
HSVhsv(328, 76%, 65%)
CMYKcmyk(0%, 76%, 35.9%, 34.5%)
CIE-LABlab(39.24, 56.05, -7.99)
CIE-LCHlch(39.24, 56.62, 351.88°)
OKLaboklab(49.9% 0.1719 -0.0205)
OKLCHoklch(49.9% 0.173 353.2)
XYZxyz(19.3502, 10.7970, 14.9721)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7286B #28A764
analogous
#A328A7 #A7286B #A7282C
triadic
#A7286B #6BA728 #286BA7
tetradic
#A7286B #A7A328 #28A764 #282CA7
square
#A7286B #A7A328 #28A764 #282CA7
split-complementary
#A7286B #2CA728 #28A7A3
monochromatic
#44102C #761C4B #A7286B #D03C8A #DC6DA8

Accessibility & contrast

On white

6.65
#A7286B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7286B
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7286B#FFFFFF#000000##FFFFFF
##A7286B1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404E6D
Deuteranopia (green-blind)
#646568
Tritanopia (blue-blind)
#B41B46
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a7286b;
/* rgb */ color: rgb(167, 40, 107);
/* oklch */ color: oklch(49.9% 0.173 353.2);
Tailwind
colors: {
  custom: {
    50: '#c66e95',
    500: '#a7286b',
    950: '#000000',
  },
}
SCSS
$custom: #a7286b;
$custom-light: #c66e95;
$custom-dark: #000000;
JSON
{
  "hex": "#a7286b",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 328.346,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49904,
    "c": 0.17315,
    "h": 353.2
  },
  "luminance": 0.10795
}

Semantic roles & 50–950 ramp

primary
#A7286B
secondary
#68C393
accent
#E48F43
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #A7286B

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

Preview Lab → · Contrast checker → · Palette generator →

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