#A7277F#A7277F

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

Color values

HEX#A7277F
RGBrgb(167, 39, 127)
HSLhsl(319, 62%, 40%)
HSVhsv(319, 77%, 65%)
CMYKcmyk(0%, 76.6%, 24%, 34.5%)
CIE-LABlab(39.92, 58.80, -19.43)
CIE-LCHlch(39.92, 61.93, 341.71°)
OKLaboklab(50.66% 0.1776 -0.0519)
OKLCHoklch(50.66% 0.185 343.7)
XYZxyz(20.4934, 11.2010, 21.1573)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7277F #27A74F
analogous
#8F27A7 #A7277F #A7273F
triadic
#A7277F #7FA727 #277FA7
tetradic
#A7277F #A78F27 #27A74F #273FA7
square
#A7277F #A78F27 #27A74F #273FA7
split-complementary
#A7277F #3FA727 #27A78F
monochromatic
#441034 #751B59 #A7277F #D13AA2 #DD6CB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7277F#FFFFFF#000000##FFFFFF
##A7277F1.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)
#365181
Deuteranopia (green-blind)
#5E667C
Tritanopia (blue-blind)
#B22750
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a7277f;
/* rgb */ color: rgb(167, 39, 127);
/* oklch */ color: oklch(50.7% 0.185 343.7);
Tailwind
colors: {
  custom: {
    50: '#c56fa4',
    500: '#a7277f',
    950: '#000000',
  },
}
SCSS
$custom: #a7277f;
$custom-light: #c56fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#a7277f",
  "rgb": {
    "r": 167,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 318.75,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50659,
    "c": 0.18502,
    "h": 343.7
  },
  "luminance": 0.11199
}

Semantic roles & 50–950 ramp

primary
#A7277F
secondary
#67C384
accent
#E57543
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A7277F

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

Preview Lab → · Contrast checker → · Palette generator →

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