#A2267F#A2267F

#A2267F is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.8% C 0.183 H 342.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#A2267F
RGBrgb(162, 38, 127)
HSLhsl(317, 62%, 39%)
HSVhsv(317, 77%, 64%)
CMYKcmyk(0%, 76.5%, 21.6%, 36.5%)
CIE-LABlab(38.90, 57.87, -21.07)
CIE-LCHlch(38.90, 61.59, 339.99°)
OKLaboklab(49.76% 0.1739 -0.0566)
OKLCHoklch(49.76% 0.183 342)
XYZxyz(19.4248, 10.6019, 21.0979)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2267F #26A249
analogous
#8726A2 #A2267F #A22641
triadic
#A2267F #7FA226 #267FA2
tetradic
#A2267F #A28726 #26A249 #2641A2
square
#A2267F #A28726 #26A249 #2641A2
split-complementary
#A2267F #41A226 #26A287
monochromatic
#3F0F31 #701A58 #A2267F #D035A4 #DB67BB

Accessibility & contrast

On white

6.73
#A2267F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A2267F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2267F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2267F#FFFFFF#000000##FFFFFF
##A2267F1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324F81
Deuteranopia (green-blind)
#59637C
Tritanopia (blue-blind)
#AC2850
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a2267f;
/* rgb */ color: rgb(162, 38, 127);
/* oklch */ color: oklch(49.8% 0.183 342.0);
Tailwind
colors: {
  custom: {
    50: '#c16ea4',
    500: '#a2267f',
    950: '#000000',
  },
}
SCSS
$custom: #a2267f;
$custom-light: #c16ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#a2267f",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 316.935,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49755,
    "c": 0.18285,
    "h": 342
  },
  "luminance": 0.106
}

Semantic roles & 50–950 ramp

primary
#A2267F
secondary
#63C17D
accent
#E57143
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A2267F

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

Preview Lab → · Contrast checker → · Palette generator →

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