#A8277F#A8277F

#A8277F is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.186 H 344.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A8277F
RGBrgb(168, 39, 127)
HSLhsl(319, 62%, 41%)
HSVhsv(319, 77%, 66%)
CMYKcmyk(0%, 76.8%, 24.4%, 34.1%)
CIE-LABlab(40.10, 59.05, -19.14)
CIE-LCHlch(40.10, 62.07, 342.04°)
OKLaboklab(50.82% 0.1785 -0.0511)
OKLCHoklch(50.82% 0.186 344)
XYZxyz(20.7056, 11.3104, 21.1673)
Luminance0.1131 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8277F #27A850
analogous
#9027A8 #A8277F #A8273E
triadic
#A8277F #7FA827 #277FA8
tetradic
#A8277F #A89027 #27A850 #273EA8
square
#A8277F #A89027 #27A850 #273EA8
split-complementary
#A8277F #3EA827 #27A890
monochromatic
#451034 #761B59 #A8277F #D13BA2 #DD6CB9

Accessibility & contrast

On white

6.44
#A8277F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A8277F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8277F
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8277F#FFFFFF#000000##FFFFFF
##A8277F1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8277f;
/* rgb */ color: rgb(168, 39, 127);
/* oklch */ color: oklch(50.8% 0.186 344.0);
Tailwind
colors: {
  custom: {
    50: '#c66fa4',
    500: '#a8277f',
    950: '#000000',
  },
}
SCSS
$custom: #a8277f;
$custom-light: #c66fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#a8277f",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 319.07,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50824,
    "c": 0.18567,
    "h": 344
  },
  "luminance": 0.11308
}

Semantic roles & 50–950 ramp

primary
#A8277F
secondary
#67C385
accent
#E57642
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #A8277F

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

Preview Lab → · Contrast checker → · Palette generator →

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