#A2267E#A2267E

#A2267E is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.182 H 342.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A2267E
RGBrgb(162, 38, 126)
HSLhsl(317, 62%, 39%)
HSVhsv(317, 77%, 64%)
CMYKcmyk(0%, 76.5%, 22.2%, 36.5%)
CIE-LABlab(38.86, 57.74, -20.52)
CIE-LCHlch(38.86, 61.28, 340.43°)
OKLaboklab(49.71% 0.1737 -0.0551)
OKLCHoklch(49.71% 0.182 342.4)
XYZxyz(19.3600, 10.5760, 20.7564)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2267E #26A24A
analogous
#8826A2 #A2267E #A22640
triadic
#A2267E #7EA226 #267EA2
tetradic
#A2267E #A28826 #26A24A #2640A2
square
#A2267E #A28826 #26A24A #2640A2
split-complementary
#A2267E #40A226 #26A288
monochromatic
#3F0F31 #701A57 #A2267E #D035A3 #DB67BA

Accessibility & contrast

On white

6.74
#A2267E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A2267E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2267E
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2267E#FFFFFF#000000##FFFFFF
##A2267E1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334F80
Deuteranopia (green-blind)
#5A637B
Tritanopia (blue-blind)
#AC274F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a2267e;
/* rgb */ color: rgb(162, 38, 126);
/* oklch */ color: oklch(49.7% 0.182 342.4);
Tailwind
colors: {
  custom: {
    50: '#c16ea3',
    500: '#a2267e',
    950: '#000000',
  },
}
SCSS
$custom: #a2267e;
$custom-light: #c16ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#a2267e",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 317.419,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49708,
    "c": 0.18222,
    "h": 342.4
  },
  "luminance": 0.10574
}

Semantic roles & 50–950 ramp

primary
#A2267E
secondary
#63C17E
accent
#E57243
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A2267E

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

Preview Lab → · Contrast checker → · Palette generator →

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