#A4277F#A4277F

#A4277F is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.183 H 342.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A4277F
RGBrgb(164, 39, 127)
HSLhsl(318, 62%, 40%)
HSVhsv(318, 76%, 64%)
CMYKcmyk(0%, 76.2%, 22.6%, 35.7%)
CIE-LABlab(39.37, 58.05, -20.32)
CIE-LCHlch(39.37, 61.50, 340.71°)
OKLaboklab(50.17% 0.1748 -0.0545)
OKLCHoklch(50.17% 0.183 342.7)
XYZxyz(19.8668, 10.8779, 21.1279)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4277F #27A44C
analogous
#8B27A4 #A4277F #A42741
triadic
#A4277F #7FA427 #277FA4
tetradic
#A4277F #A48B27 #27A44C #2741A4
square
#A4277F #A48B27 #27A44C #2741A4
split-complementary
#A4277F #41A427 #27A48B
monochromatic
#410F32 #731B59 #A4277F #D038A3 #DC6ABA

Accessibility & contrast

On white

6.61
#A4277F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A4277F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4277F
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4277F#FFFFFF#000000##FFFFFF
##A4277F1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345081
Deuteranopia (green-blind)
#5B647C
Tritanopia (blue-blind)
#AF2850
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a4277f;
/* rgb */ color: rgb(164, 39, 127);
/* oklch */ color: oklch(50.2% 0.183 342.7);
Tailwind
colors: {
  custom: {
    50: '#c36ea4',
    500: '#a4277f',
    950: '#000000',
  },
}
SCSS
$custom: #a4277f;
$custom-light: #c36ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#a4277f",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 317.76,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50165,
    "c": 0.18307,
    "h": 342.7
  },
  "luminance": 0.10876
}

Semantic roles & 50–950 ramp

primary
#A4277F
secondary
#65C280
accent
#E57343
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A4277F

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

Preview Lab → · Contrast checker → · Palette generator →

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