#A3277E#A3277E

#A3277E is a mid, vivid pink. Relative luminance 0.107; OKLCH L 50.0% C 0.182 H 342.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A3277E
RGBrgb(163, 39, 126)
HSLhsl(318, 61%, 40%)
HSVhsv(318, 76%, 64%)
CMYKcmyk(0%, 76.1%, 22.7%, 36.1%)
CIE-LABlab(39.15, 57.67, -20.06)
CIE-LCHlch(39.15, 61.06, 340.82°)
OKLaboklab(49.95% 0.1737 -0.0537)
OKLCHoklch(49.95% 0.182 342.8)
XYZxyz(19.5964, 10.7460, 20.7768)
Luminance0.1074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3277E #27A34C
analogous
#8A27A3 #A3277E #A32740
triadic
#A3277E #7EA327 #277EA3
tetradic
#A3277E #A38A27 #27A34C #2740A3
square
#A3277E #A38A27 #27A34C #2740A3
split-complementary
#A3277E #40A327 #27A38A
monochromatic
#400F32 #721B58 #A3277E #CF38A2 #DB69B9

Accessibility & contrast

On white

6.67
#A3277E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A3277E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3277E
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3277E#FFFFFF#000000##FFFFFF
##A3277E1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F80
Deuteranopia (green-blind)
#5B647B
Tritanopia (blue-blind)
#AE284F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a3277e;
/* rgb */ color: rgb(163, 39, 126);
/* oklch */ color: oklch(50.0% 0.182 342.8);
Tailwind
colors: {
  custom: {
    50: '#c26ea3',
    500: '#a3277e',
    950: '#000000',
  },
}
SCSS
$custom: #a3277e;
$custom-light: #c26ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#a3277e",
  "rgb": {
    "r": 163,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 317.903,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49954,
    "c": 0.1818,
    "h": 342.8
  },
  "luminance": 0.10744
}

Semantic roles & 50–950 ramp

primary
#A3277E
secondary
#64C180
accent
#E47343
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A3277E

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

Preview Lab → · Contrast checker → · Palette generator →

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