#A2248A#A2248A

#A2248A is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.1% C 0.192 H 337.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A2248A
RGBrgb(162, 36, 138)
HSLhsl(311, 64%, 39%)
HSVhsv(311, 78%, 64%)
CMYKcmyk(0%, 77.8%, 14.8%, 36.5%)
CIE-LABlab(39.21, 60.02, -27.38)
CIE-LCHlch(39.21, 65.97, 335.48°)
OKLaboklab(50.15% 0.1771 -0.0745)
OKLCHoklch(50.15% 0.192 337.2)
XYZxyz(20.1190, 10.7800, 25.0610)
Luminance0.1078 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2248A #24A23C
analogous
#7B24A2 #A2248A #A2244B
triadic
#A2248A #8AA224 #248AA2
tetradic
#A2248A #A27B24 #24A23C #244BA2
square
#A2248A #A27B24 #24A23C #244BA2
split-complementary
#A2248A #4BA224 #24A27B
monochromatic
#3E0E35 #70195F #A2248A #D132B3 #DD64C6

Accessibility & contrast

On white

6.65
#A2248A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A2248A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2248A
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2248A#FFFFFF#000000##FFFFFF
##A2248A1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508D
Deuteranopia (green-blind)
#556387
Tritanopia (blue-blind)
#AB2C55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a2248a;
/* rgb */ color: rgb(162, 36, 138);
/* oklch */ color: oklch(50.1% 0.192 337.2);
Tailwind
colors: {
  custom: {
    50: '#c16dac',
    500: '#a2248a',
    950: '#000000',
  },
}
SCSS
$custom: #a2248a;
$custom-light: #c16dac;
$custom-dark: #000000;
JSON
{
  "hex": "#a2248a",
  "rgb": {
    "r": 162,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 311.429,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50145,
    "c": 0.19215,
    "h": 337.2
  },
  "luminance": 0.10778
}

Semantic roles & 50–950 ramp

primary
#A2248A
secondary
#60C273
accent
#E76141
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A2248A

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

Preview Lab → · Contrast checker → · Palette generator →

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