#A2254C#A2254C

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

Color values

HEX#A2254C
RGBrgb(162, 37, 76)
HSLhsl(341, 63%, 39%)
HSVhsv(341, 77%, 64%)
CMYKcmyk(0%, 77.2%, 53.1%, 36.5%)
CIE-LABlab(36.98, 52.61, 8.33)
CIE-LCHlch(36.98, 53.26, 9.00°)
OKLaboklab(47.76% 0.1603 0.0215)
OKLCHoklch(47.76% 0.162 7.6)
XYZxyz(16.8679, 9.5287, 7.7871)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2254C #25A27B
analogous
#A2258B #A2254C #A23D25
triadic
#A2254C #4CA225 #254CA2
tetradic
#A2254C #8BA225 #25A27B #3D25A2
square
#A2254C #8BA225 #25A27B #3D25A2
split-complementary
#A2254C #25A23D #258BA2
monochromatic
#3E0E1D #701A35 #A2254C #D13465 #DC658A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2254C#FFFFFF#000000##FFFFFF
##A2254C1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45474D
Deuteranopia (green-blind)
#666049
Tritanopia (blue-blind)
#B10036
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a2254c;
/* rgb */ color: rgb(162, 37, 76);
/* oklch */ color: oklch(47.8% 0.162 7.6);
Tailwind
colors: {
  custom: {
    50: '#c46c7d',
    500: '#a2254c',
    950: '#000000',
  },
}
SCSS
$custom: #a2254c;
$custom-light: #c46c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2254c",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 76
  },
  "hsl": {
    "h": 341.28,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47763,
    "c": 0.16172,
    "h": 7.6
  },
  "luminance": 0.09526
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2254C

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

Preview Lab → · Contrast checker → · Palette generator →

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