#A2268C#A2268C

#A2268C is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.192 H 336.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A2268C
RGBrgb(162, 38, 140)
HSLhsl(311, 62%, 39%)
HSVhsv(311, 77%, 64%)
CMYKcmyk(0%, 76.5%, 13.6%, 36.5%)
CIE-LABlab(39.52, 59.71, -28.12)
CIE-LCHlch(39.52, 66.00, 334.78°)
OKLaboklab(50.4% 0.1755 -0.0767)
OKLCHoklch(50.4% 0.192 336.4)
XYZxyz(20.3274, 10.9629, 25.8514)
Luminance0.1096 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2268C #26A23C
analogous
#7A26A2 #A2268C #A2264E
triadic
#A2268C #8CA226 #268CA2
tetradic
#A2268C #A27A26 #26A23C #264EA2
square
#A2268C #A27A26 #26A23C #264EA2
split-complementary
#A2268C #4EA226 #26A27A
monochromatic
#3F0F36 #701A61 #A2268C #D035B4 #DB67C7

Accessibility & contrast

On white

6.58
#A2268C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A2268C
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2268C#FFFFFF#000000##FFFFFF
##A2268C1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29518F
Deuteranopia (green-blind)
#546489
Tritanopia (blue-blind)
#AB2F57
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a2268c;
/* rgb */ color: rgb(162, 38, 140);
/* oklch */ color: oklch(50.4% 0.192 336.4);
Tailwind
colors: {
  custom: {
    50: '#c16eae',
    500: '#a2268c',
    950: '#000000',
  },
}
SCSS
$custom: #a2268c;
$custom-light: #c16eae;
$custom-dark: #000000;
JSON
{
  "hex": "#a2268c",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 140
  },
  "hsl": {
    "h": 310.645,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50401,
    "c": 0.1915,
    "h": 336.4
  },
  "luminance": 0.10961
}

Semantic roles & 50–950 ramp

primary
#A2268C
secondary
#63C173
accent
#E56043
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A2268C

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

Preview Lab → · Contrast checker → · Palette generator →

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