#A2257C#A2257C

#A2257C is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.182 H 343.3°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A2257C
RGBrgb(162, 37, 124)
HSLhsl(318, 63%, 39%)
HSVhsv(318, 77%, 64%)
CMYKcmyk(0%, 77.2%, 23.5%, 36.5%)
CIE-LABlab(38.66, 57.78, -19.59)
CIE-LCHlch(38.66, 61.01, 341.27°)
OKLaboklab(49.54% 0.1743 -0.0524)
OKLCHoklch(49.54% 0.182 343.3)
XYZxyz(19.2007, 10.4618, 20.0730)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2257C #25A24B
analogous
#8A25A2 #A2257C #A2253E
triadic
#A2257C #7CA225 #257CA2
tetradic
#A2257C #A28A25 #25A24B #253EA2
square
#A2257C #A28A25 #25A24B #253EA2
split-complementary
#A2257C #3EA225 #25A28A
monochromatic
#3E0E30 #701A56 #A2257C #D134A1 #DC65B8

Accessibility & contrast

On white

6.79
#A2257C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A2257C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2257C
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2257C#FFFFFF#000000##FFFFFF
##A2257C1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2257c;
/* rgb */ color: rgb(162, 37, 124);
/* oklch */ color: oklch(49.5% 0.182 343.3);
Tailwind
colors: {
  custom: {
    50: '#c26da2',
    500: '#a2257c',
    950: '#000000',
  },
}
SCSS
$custom: #a2257c;
$custom-light: #c26da2;
$custom-dark: #000000;
JSON
{
  "hex": "#a2257c",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 124
  },
  "hsl": {
    "h": 318.24,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49536,
    "c": 0.18202,
    "h": 343.3
  },
  "luminance": 0.1046
}

Semantic roles & 50–950 ramp

primary
#A2257C
secondary
#61C27F
accent
#E67442
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A2257C

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

Preview Lab → · Contrast checker → · Palette generator →

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