#A2254A#A2254A

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

Color values

HEX#A2254A
RGBrgb(162, 37, 74)
HSLhsl(342, 63%, 39%)
HSVhsv(342, 77%, 64%)
CMYKcmyk(0%, 77.2%, 54.3%, 36.5%)
CIE-LABlab(36.93, 52.45, 9.55)
CIE-LCHlch(36.93, 53.31, 10.32°)
OKLaboklab(47.71% 0.1595 0.0244)
OKLCHoklch(47.71% 0.161 8.7)
XYZxyz(16.7995, 9.5013, 7.4266)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2254A #25A27D
analogous
#A22589 #A2254A #A23F25
triadic
#A2254A #4AA225 #254AA2
tetradic
#A2254A #89A225 #25A27D #3F25A2
square
#A2254A #89A225 #25A27D #3F25A2
split-complementary
#A2254A #25A23F #2589A2
monochromatic
#3E0E1C #701A33 #A2254A #D13462 #DC6589

Accessibility & contrast

On white

7.24
#A2254A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A2254A
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2254A#FFFFFF#000000##FFFFFF
##A2254A1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46474B
Deuteranopia (green-blind)
#666047
Tritanopia (blue-blind)
#B10035
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a2254a;
/* rgb */ color: rgb(162, 37, 74);
/* oklch */ color: oklch(47.7% 0.161 8.7);
Tailwind
colors: {
  custom: {
    50: '#c46c7c',
    500: '#a2254a',
    950: '#000000',
  },
}
SCSS
$custom: #a2254a;
$custom-light: #c46c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2254a",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 74
  },
  "hsl": {
    "h": 342.24,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47709,
    "c": 0.16136,
    "h": 8.7
  },
  "luminance": 0.09499
}

Semantic roles & 50–950 ramp

primary
#A2254A
secondary
#61C2A5
accent
#E6B542
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #A2254A

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

Preview Lab → · Contrast checker → · Palette generator →

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