#A2248C#A2248C

#A2248C is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.2% C 0.194 H 336.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A2248C
RGBrgb(162, 36, 140)
HSLhsl(310, 64%, 39%)
HSVhsv(310, 78%, 64%)
CMYKcmyk(0%, 77.8%, 13.6%, 36.5%)
CIE-LABlab(39.31, 60.31, -28.45)
CIE-LCHlch(39.31, 66.69, 334.74°)
OKLaboklab(50.25% 0.1773 -0.0776)
OKLCHoklch(50.25% 0.194 336.4)
XYZxyz(20.2651, 10.8385, 25.8306)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2248C #24A23A
analogous
#7924A2 #A2248C #A2244D
triadic
#A2248C #8CA224 #248CA2
tetradic
#A2248C #A27924 #24A23A #244DA2
square
#A2248C #A27924 #24A23A #244DA2
split-complementary
#A2248C #4DA224 #24A279
monochromatic
#3E0E35 #701961 #A2248C #D132B6 #DD64C7

Accessibility & contrast

On white

6.63
#A2248C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A2248C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2248C
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2248C#FFFFFF#000000##FFFFFF
##A2248C1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27518F
Deuteranopia (green-blind)
#546389
Tritanopia (blue-blind)
#AB2E56
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a2248c;
/* rgb */ color: rgb(162, 36, 140);
/* oklch */ color: oklch(50.2% 0.194 336.4);
Tailwind
colors: {
  custom: {
    50: '#c16dae',
    500: '#a2248c',
    950: '#000000',
  },
}
SCSS
$custom: #a2248c;
$custom-light: #c16dae;
$custom-dark: #000000;
JSON
{
  "hex": "#a2248c",
  "rgb": {
    "r": 162,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 310.476,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50249,
    "c": 0.19353,
    "h": 336.4
  },
  "luminance": 0.10837
}

Semantic roles & 50–950 ramp

primary
#A2248C
secondary
#60C271
accent
#E75E41
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A2248C

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

Preview Lab → · Contrast checker → · Palette generator →

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