#A2268A#A2268A

#A2268A is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.3% C 0.190 H 337.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A2268A
RGBrgb(162, 38, 138)
HSLhsl(312, 62%, 39%)
HSVhsv(312, 77%, 64%)
CMYKcmyk(0%, 76.5%, 14.8%, 36.5%)
CIE-LABlab(39.42, 59.42, -27.05)
CIE-LCHlch(39.42, 65.28, 335.52°)
OKLaboklab(50.3% 0.1753 -0.0736)
OKLCHoklch(50.3% 0.19 337.2)
XYZxyz(20.1813, 10.9045, 25.0817)
Luminance0.1090 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2268A #26A23E
analogous
#7C26A2 #A2268A #A2264C
triadic
#A2268A #8AA226 #268AA2
tetradic
#A2268A #A27C26 #26A23E #264CA2
square
#A2268A #A27C26 #26A23E #264CA2
split-complementary
#A2268A #4CA226 #26A27C
monochromatic
#3F0F36 #701A60 #A2268A #D035B2 #DB67C5

Accessibility & contrast

On white

6.60
#A2268A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A2268A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2268A
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2268A#FFFFFF#000000##FFFFFF
##A2268A1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A518D
Deuteranopia (green-blind)
#556487
Tritanopia (blue-blind)
#AB2E56
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a2268a;
/* rgb */ color: rgb(162, 38, 138);
/* oklch */ color: oklch(50.3% 0.190 337.2);
Tailwind
colors: {
  custom: {
    50: '#c16eac',
    500: '#a2268a',
    950: '#000000',
  },
}
SCSS
$custom: #a2268a;
$custom-light: #c16eac;
$custom-dark: #000000;
JSON
{
  "hex": "#a2268a",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 138
  },
  "hsl": {
    "h": 311.613,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50297,
    "c": 0.19012,
    "h": 337.2
  },
  "luminance": 0.10903
}

Semantic roles & 50–950 ramp

primary
#A2268A
secondary
#63C175
accent
#E56243
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A2268A

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

Preview Lab → · Contrast checker → · Palette generator →

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