#A2254B#A2254B

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

Color values

HEX#A2254B
RGBrgb(162, 37, 75)
HSLhsl(342, 63%, 39%)
HSVhsv(342, 77%, 64%)
CMYKcmyk(0%, 77.2%, 53.7%, 36.5%)
CIE-LABlab(36.96, 52.53, 8.94)
CIE-LCHlch(36.96, 53.28, 9.66°)
OKLaboklab(47.74% 0.1599 0.0229)
OKLCHoklch(47.74% 0.162 8.2)
XYZxyz(16.8334, 9.5149, 7.6054)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2254B #25A27C
analogous
#A2258A #A2254B #A23E25
triadic
#A2254B #4BA225 #254BA2
tetradic
#A2254B #8AA225 #25A27C #3E25A2
square
#A2254B #8AA225 #25A27C #3E25A2
split-complementary
#A2254B #25A23E #258AA2
monochromatic
#3E0E1D #701A34 #A2254B #D13463 #DC6589

Accessibility & contrast

On white

7.23
#A2254B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#A2254B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A2254B
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2254B#FFFFFF#000000##FFFFFF
##A2254B1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45474C
Deuteranopia (green-blind)
#666048
Tritanopia (blue-blind)
#B10035
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a2254b;
/* rgb */ color: rgb(162, 37, 75);
/* oklch */ color: oklch(47.7% 0.162 8.2);
Tailwind
colors: {
  custom: {
    50: '#c46c7d',
    500: '#a2254b',
    950: '#000000',
  },
}
SCSS
$custom: #a2254b;
$custom-light: #c46c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2254b",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 341.76,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47736,
    "c": 0.16153,
    "h": 8.2
  },
  "luminance": 0.09513
}

Semantic roles & 50–950 ramp

primary
#A2254B
secondary
#61C2A4
accent
#E6B442
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #A2254B

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

Preview Lab → · Contrast checker → · Palette generator →

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