#A2254D#A2254D

#A2254D is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.162 H 7.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#A2254D
RGBrgb(162, 37, 77)
HSLhsl(341, 63%, 39%)
HSVhsv(341, 77%, 64%)
CMYKcmyk(0%, 77.2%, 52.5%, 36.5%)
CIE-LABlab(37.01, 52.69, 7.73)
CIE-LCHlch(37.01, 53.25, 8.34°)
OKLaboklab(47.79% 0.1607 0.02)
OKLCHoklch(47.79% 0.162 7.1)
XYZxyz(16.9029, 9.5427, 7.9716)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2254D #25A27A
analogous
#A2258C #A2254D #A23C25
triadic
#A2254D #4DA225 #254DA2
tetradic
#A2254D #8CA225 #25A27A #3C25A2
square
#A2254D #8CA225 #25A27A #3C25A2
split-complementary
#A2254D #25A23C #258CA2
monochromatic
#3E0E1E #701A35 #A2254D #D13466 #DC658B

Accessibility & contrast

On white

7.22
#A2254D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#A2254D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A2254D
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2254D#FFFFFF#000000##FFFFFF
##A2254D1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45474E
Deuteranopia (green-blind)
#66604A
Tritanopia (blue-blind)
#B10036
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a2254d;
/* rgb */ color: rgb(162, 37, 77);
/* oklch */ color: oklch(47.8% 0.162 7.1);
Tailwind
colors: {
  custom: {
    50: '#c36c7e',
    500: '#a2254d',
    950: '#000000',
  },
}
SCSS
$custom: #a2254d;
$custom-light: #c36c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2254d",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 340.8,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4779,
    "c": 0.16191,
    "h": 7.1
  },
  "luminance": 0.0954
}

Semantic roles & 50–950 ramp

primary
#A2254D
secondary
#61C2A3
accent
#E6B142
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #A2254D

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

Preview Lab → · Contrast checker → · Palette generator →

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