#A8277B#A8277B

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

Color values

HEX#A8277B
RGBrgb(168, 39, 123)
HSLhsl(321, 62%, 41%)
HSVhsv(321, 77%, 66%)
CMYKcmyk(0%, 76.8%, 26.8%, 34.1%)
CIE-LABlab(39.93, 58.54, -16.92)
CIE-LCHlch(39.93, 60.93, 343.88°)
OKLaboklab(50.65% 0.1777 -0.0449)
OKLCHoklch(50.65% 0.183 345.8)
XYZxyz(20.4500, 11.2082, 19.8215)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8277B #27A854
analogous
#9427A8 #A8277B #A8273B
triadic
#A8277B #7BA827 #277BA8
tetradic
#A8277B #A89427 #27A854 #273BA8
square
#A8277B #A89427 #27A854 #273BA8
split-complementary
#A8277B #3BA827 #27A894
monochromatic
#451032 #761B57 #A8277B #D13B9D #DD6CB6

Accessibility & contrast

On white

6.48
#A8277B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A8277B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8277B
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8277B#FFFFFF#000000##FFFFFF
##A8277B1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8277b;
/* rgb */ color: rgb(168, 39, 123);
/* oklch */ color: oklch(50.6% 0.183 345.8);
Tailwind
colors: {
  custom: {
    50: '#c66fa1',
    500: '#a8277b',
    950: '#000000',
  },
}
SCSS
$custom: #a8277b;
$custom-light: #c66fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#a8277b",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 320.93,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50646,
    "c": 0.18332,
    "h": 345.8
  },
  "luminance": 0.11206
}

Semantic roles & 50–950 ramp

primary
#A8277B
secondary
#67C387
accent
#E57B42
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080F
muted
#827B7E

Preview Lab

Preview with #A8277B

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

Preview Lab → · Contrast checker → · Palette generator →

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