#A2277B#A2277B

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

Color values

HEX#A2277B
RGBrgb(162, 39, 123)
HSLhsl(319, 61%, 39%)
HSVhsv(319, 76%, 64%)
CMYKcmyk(0%, 75.9%, 24.1%, 36.5%)
CIE-LABlab(38.84, 57.02, -18.69)
CIE-LCHlch(38.84, 60.00, 341.85°)
OKLaboklab(49.65% 0.1722 -0.0499)
OKLCHoklch(49.65% 0.179 343.8)
XYZxyz(19.2017, 10.5645, 19.7630)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2277B #27A24E
analogous
#8C27A2 #A2277B #A2273E
triadic
#A2277B #7BA227 #277BA2
tetradic
#A2277B #A28C27 #27A24E #273EA2
square
#A2277B #A28C27 #27A24E #273EA2
split-complementary
#A2277B #3EA227 #27A28C
monochromatic
#3F0F30 #711B56 #A2277B #CF379F #DB69B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2277B#FFFFFF#000000##FFFFFF
##A2277B1.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)
#354E7D
Deuteranopia (green-blind)
#5B6378
Tritanopia (blue-blind)
#AD264E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a2277b;
/* rgb */ color: rgb(162, 39, 123);
/* oklch */ color: oklch(49.7% 0.179 343.8);
Tailwind
colors: {
  custom: {
    50: '#c26ea1',
    500: '#a2277b',
    950: '#000000',
  },
}
SCSS
$custom: #a2277b;
$custom-light: #c26ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#a2277b",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 319.024,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49651,
    "c": 0.17928,
    "h": 343.8
  },
  "luminance": 0.10562
}

Semantic roles & 50–950 ramp

primary
#A2277B
secondary
#64C181
accent
#E47643
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A2277B

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

Preview Lab → · Contrast checker → · Palette generator →

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