#A2254E#A2254E

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

Color values

HEX#A2254E
RGBrgb(162, 37, 78)
HSLhsl(340, 63%, 39%)
HSVhsv(340, 77%, 64%)
CMYKcmyk(0%, 77.2%, 51.9%, 36.5%)
CIE-LABlab(37.04, 52.77, 7.12)
CIE-LCHlch(37.04, 53.25, 7.69°)
OKLaboklab(47.82% 0.1611 0.0185)
OKLCHoklch(47.82% 0.162 6.6)
XYZxyz(16.9385, 9.5569, 8.1590)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2254E #25A279
analogous
#A2258D #A2254E #A23B25
triadic
#A2254E #4EA225 #254EA2
tetradic
#A2254E #8DA225 #25A279 #3B25A2
square
#A2254E #8DA225 #25A279 #3B25A2
split-complementary
#A2254E #25A23B #258DA2
monochromatic
#3E0E1E #701A36 #A2254E #D13467 #DC658C

Accessibility & contrast

On white

7.21
#A2254E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A2254E
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2254E#FFFFFF#000000##FFFFFF
##A2254E1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45474F
Deuteranopia (green-blind)
#65604B
Tritanopia (blue-blind)
#B10037
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a2254e;
/* rgb */ color: rgb(162, 37, 78);
/* oklch */ color: oklch(47.8% 0.162 6.6);
Tailwind
colors: {
  custom: {
    50: '#c36c7f',
    500: '#a2254e',
    950: '#000000',
  },
}
SCSS
$custom: #a2254e;
$custom-light: #c36c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2254e",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 78
  },
  "hsl": {
    "h": 340.32,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47818,
    "c": 0.16211,
    "h": 6.6
  },
  "luminance": 0.09555
}

Semantic roles & 50–950 ramp

primary
#A2254E
secondary
#61C2A2
accent
#E6B042
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A2254E

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

Preview Lab → · Contrast checker → · Palette generator →

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