#A7287B#A7287B

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

Color values

HEX#A7287B
RGBrgb(167, 40, 123)
HSLhsl(321, 61%, 41%)
HSVhsv(321, 76%, 65%)
CMYKcmyk(0%, 76%, 26.3%, 34.5%)
CIE-LABlab(39.86, 57.97, -17.05)
CIE-LCHlch(39.86, 60.42, 343.61°)
OKLaboklab(50.56% 0.1758 -0.0453)
OKLCHoklch(50.56% 0.182 345.6)
XYZxyz(20.2712, 11.1654, 19.8226)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7287B #28A754
analogous
#9328A7 #A7287B #A7283C
triadic
#A7287B #7BA728 #287BA7
tetradic
#A7287B #A79328 #28A754 #283CA7
square
#A7287B #A79328 #28A754 #283CA7
split-complementary
#A7287B #3CA728 #28A793
monochromatic
#441032 #761C57 #A7287B #D03C9D #DC6DB6

Accessibility & contrast

On white

6.50
#A7287B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A7287B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7287B
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7287B#FFFFFF#000000##FFFFFF
##A7287B1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507D
Deuteranopia (green-blind)
#5F6678
Tritanopia (blue-blind)
#B3254E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a7287b;
/* rgb */ color: rgb(167, 40, 123);
/* oklch */ color: oklch(50.6% 0.182 345.6);
Tailwind
colors: {
  custom: {
    50: '#c56fa1',
    500: '#a7287b',
    950: '#000000',
  },
}
SCSS
$custom: #a7287b;
$custom-light: #c56fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#a7287b",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 123
  },
  "hsl": {
    "h": 320.787,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5056,
    "c": 0.18158,
    "h": 345.6
  },
  "luminance": 0.11163
}

Semantic roles & 50–950 ramp

primary
#A7287B
secondary
#68C387
accent
#E47B43
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A7287B

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

Preview Lab → · Contrast checker → · Palette generator →

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