#A1277F#A1277F

#A1277F is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.181 H 341.7°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#A1277F
RGBrgb(161, 39, 127)
HSLhsl(317, 61%, 39%)
HSVhsv(317, 76%, 63%)
CMYKcmyk(0%, 75.8%, 21.1%, 36.9%)
CIE-LABlab(38.83, 57.30, -21.19)
CIE-LCHlch(38.83, 61.10, 339.70°)
OKLaboklab(49.67% 0.1719 -0.057)
OKLCHoklch(49.67% 0.181 341.7)
XYZxyz(19.2549, 10.5624, 21.0993)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1277F #27A149
analogous
#8627A1 #A1277F #A12742
triadic
#A1277F #7FA127 #277FA1
tetradic
#A1277F #A18627 #27A149 #2742A1
square
#A1277F #A18627 #27A149 #2742A1
split-complementary
#A1277F #42A127 #27A186
monochromatic
#3E0F31 #701B58 #A1277F #CE37A4 #DA68BB

Accessibility & contrast

On white

6.75
#A1277F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A1277F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1277F
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1277F#FFFFFF#000000##FFFFFF
##A1277F1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324F81
Deuteranopia (green-blind)
#59637C
Tritanopia (blue-blind)
#AB2950
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a1277f;
/* rgb */ color: rgb(161, 39, 127);
/* oklch */ color: oklch(49.7% 0.181 341.7);
Tailwind
colors: {
  custom: {
    50: '#c16ea4',
    500: '#a1277f',
    950: '#000000',
  },
}
SCSS
$custom: #a1277f;
$custom-light: #c16ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#a1277f",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 316.721,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49672,
    "c": 0.18114,
    "h": 341.7
  },
  "luminance": 0.1056
}

Semantic roles & 50–950 ramp

primary
#A1277F
secondary
#63C07D
accent
#E47044
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A1277F

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

Preview Lab → · Contrast checker → · Palette generator →

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