#A7286D#A7286D

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

Color values

HEX#A7286D
RGBrgb(167, 40, 109)
HSLhsl(327, 61%, 41%)
HSVhsv(327, 76%, 65%)
CMYKcmyk(0%, 76%, 34.7%, 34.5%)
CIE-LABlab(39.31, 56.28, -9.14)
CIE-LCHlch(39.31, 57.01, 350.77°)
OKLaboklab(49.98% 0.1725 -0.0236)
OKLCHoklch(49.98% 0.174 352.2)
XYZxyz(19.4566, 10.8395, 15.5327)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7286D #28A762
analogous
#A228A7 #A7286D #A7282D
triadic
#A7286D #6DA728 #286DA7
tetradic
#A7286D #A7A228 #28A762 #282DA7
square
#A7286D #A7A228 #28A762 #282DA7
split-complementary
#A7286D #2DA728 #28A7A2
monochromatic
#44102D #761C4D #A7286D #D03C8D #DC6DA9

Accessibility & contrast

On white

6.63
#A7286D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A7286D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7286D
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7286D#FFFFFF#000000##FFFFFF
##A7286D1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4E6F
Deuteranopia (green-blind)
#63656A
Tritanopia (blue-blind)
#B41D47
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a7286d;
/* rgb */ color: rgb(167, 40, 109);
/* oklch */ color: oklch(50.0% 0.174 352.2);
Tailwind
colors: {
  custom: {
    50: '#c66f96',
    500: '#a7286d',
    950: '#000000',
  },
}
SCSS
$custom: #a7286d;
$custom-light: #c66f96;
$custom-dark: #000000;
JSON
{
  "hex": "#a7286d",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 327.402,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49981,
    "c": 0.1741,
    "h": 352.2
  },
  "luminance": 0.10837
}

Semantic roles & 50–950 ramp

primary
#A7286D
secondary
#68C391
accent
#E48D43
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E

Preview Lab

Preview with #A7286D

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

Preview Lab → · Contrast checker → · Palette generator →

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