#A2247C#A2247C

#A2247C is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.5% C 0.183 H 343.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A2247C
RGBrgb(162, 36, 124)
HSLhsl(318, 64%, 39%)
HSVhsv(318, 78%, 64%)
CMYKcmyk(0%, 77.8%, 23.5%, 36.5%)
CIE-LABlab(38.55, 58.09, -19.75)
CIE-LCHlch(38.55, 61.35, 341.22°)
OKLaboklab(49.46% 0.1753 -0.0529)
OKLCHoklch(49.46% 0.183 343.2)
XYZxyz(19.1700, 10.4004, 20.0628)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2247C #24A24A
analogous
#8924A2 #A2247C #A2243D
triadic
#A2247C #7CA224 #247CA2
tetradic
#A2247C #A28924 #24A24A #243DA2
square
#A2247C #A28924 #24A24A #243DA2
split-complementary
#A2247C #3DA224 #24A289
monochromatic
#3E0E2F #701956 #A2247C #D132A1 #DD64B8

Accessibility & contrast

On white

6.82
#A2247C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A2247C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2247C
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2247C#FFFFFF#000000##FFFFFF
##A2247C1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E7E
Deuteranopia (green-blind)
#5A6279
Tritanopia (blue-blind)
#AD244D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a2247c;
/* rgb */ color: rgb(162, 36, 124);
/* oklch */ color: oklch(49.5% 0.183 343.2);
Tailwind
colors: {
  custom: {
    50: '#c26da2',
    500: '#a2247c',
    950: '#000000',
  },
}
SCSS
$custom: #a2247c;
$custom-light: #c26da2;
$custom-dark: #000000;
JSON
{
  "hex": "#a2247c",
  "rgb": {
    "r": 162,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 318.095,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49458,
    "c": 0.18306,
    "h": 343.2
  },
  "luminance": 0.10398
}

Semantic roles & 50–950 ramp

primary
#A2247C
secondary
#60C27D
accent
#E77341
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A2247C

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

Preview Lab → · Contrast checker → · Palette generator →

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