#A2268B#A2268B

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

Color values

HEX#A2268B
RGBrgb(162, 38, 139)
HSLhsl(311, 62%, 39%)
HSVhsv(311, 77%, 64%)
CMYKcmyk(0%, 76.5%, 14.2%, 36.5%)
CIE-LABlab(39.47, 59.56, -27.59)
CIE-LCHlch(39.47, 65.64, 335.15°)
OKLaboklab(50.35% 0.1754 -0.0751)
OKLCHoklch(50.35% 0.191 336.8)
XYZxyz(20.2540, 10.9336, 25.4648)
Luminance0.1093 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2268B #26A23D
analogous
#7B26A2 #A2268B #A2264D
triadic
#A2268B #8BA226 #268BA2
tetradic
#A2268B #A27B26 #26A23D #264DA2
square
#A2268B #A27B26 #26A23D #264DA2
split-complementary
#A2268B #4DA226 #26A27B
monochromatic
#3F0F36 #701A60 #A2268B #D035B3 #DB67C6

Accessibility & contrast

On white

6.59
#A2268B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A2268B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2268B
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2268B#FFFFFF#000000##FFFFFF
##A2268B1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29518E
Deuteranopia (green-blind)
#556488
Tritanopia (blue-blind)
#AB2E56
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a2268b;
/* rgb */ color: rgb(162, 38, 139);
/* oklch */ color: oklch(50.3% 0.191 336.8);
Tailwind
colors: {
  custom: {
    50: '#c16ead',
    500: '#a2268b',
    950: '#000000',
  },
}
SCSS
$custom: #a2268b;
$custom-light: #c16ead;
$custom-dark: #000000;
JSON
{
  "hex": "#a2268b",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 311.129,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50349,
    "c": 0.19081,
    "h": 336.8
  },
  "luminance": 0.10932
}

Semantic roles & 50–950 ramp

primary
#A2268B
secondary
#63C174
accent
#E56143
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A2268B

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

Preview Lab → · Contrast checker → · Palette generator →

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