#A2267B#A2267B

#A2267B is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.6% C 0.180 H 343.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A2267B
RGBrgb(162, 38, 123)
HSLhsl(319, 62%, 39%)
HSVhsv(319, 77%, 64%)
CMYKcmyk(0%, 76.5%, 24.1%, 36.5%)
CIE-LABlab(38.72, 57.34, -18.86)
CIE-LCHlch(38.72, 60.36, 341.79°)
OKLaboklab(49.57% 0.1732 -0.0504)
OKLCHoklch(49.57% 0.18 343.8)
XYZxyz(19.1693, 10.4997, 19.7522)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2267B #26A24D
analogous
#8B26A2 #A2267B #A2263D
triadic
#A2267B #7BA226 #267BA2
tetradic
#A2267B #A28B26 #26A24D #263DA2
square
#A2267B #A28B26 #26A24D #263DA2
split-complementary
#A2267B #3DA226 #26A28B
monochromatic
#3F0F30 #701A55 #A2267B #D0359F #DB67B7

Accessibility & contrast

On white

6.78
#A2267B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A2267B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2267B
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2267B#FFFFFF#000000##FFFFFF
##A2267B1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344E7D
Deuteranopia (green-blind)
#5B6378
Tritanopia (blue-blind)
#AD264E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a2267b;
/* rgb */ color: rgb(162, 38, 123);
/* oklch */ color: oklch(49.6% 0.180 343.8);
Tailwind
colors: {
  custom: {
    50: '#c26ea1',
    500: '#a2267b',
    950: '#000000',
  },
}
SCSS
$custom: #a2267b;
$custom-light: #c26ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#a2267b",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 318.871,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49569,
    "c": 0.18036,
    "h": 343.8
  },
  "luminance": 0.10498
}

Semantic roles & 50–950 ramp

primary
#A2267B
secondary
#63C180
accent
#E57643
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A2267B

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

Preview Lab → · Contrast checker → · Palette generator →

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