#A2266B#A2266B

#A2266B is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.171 H 351.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#A2266B
RGBrgb(162, 38, 107)
HSLhsl(327, 62%, 39%)
HSVhsv(327, 77%, 64%)
CMYKcmyk(0%, 76.5%, 34%, 36.5%)
CIE-LABlab(38.08, 55.36, -9.83)
CIE-LCHlch(38.08, 56.22, 349.93°)
OKLaboklab(48.89% 0.1696 -0.0255)
OKLCHoklch(48.89% 0.171 351.5)
XYZxyz(18.2483, 10.1313, 14.9016)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2266B #26A25D
analogous
#9B26A2 #A2266B #A2262D
triadic
#A2266B #6BA226 #266BA2
tetradic
#A2266B #A29B26 #26A25D #262DA2
square
#A2266B #A29B26 #26A25D #262DA2
split-complementary
#A2266B #2DA226 #26A29B
monochromatic
#3F0F2A #701A4A #A2266B #D0358B #DB67A8

Accessibility & contrast

On white

6.94
#A2266B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A2266B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2266B
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2266B#FFFFFF#000000##FFFFFF
##A2266B1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4B6D
Deuteranopia (green-blind)
#606268
Tritanopia (blue-blind)
#AE1C45
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a2266b;
/* rgb */ color: rgb(162, 38, 107);
/* oklch */ color: oklch(48.9% 0.171 351.5);
Tailwind
colors: {
  custom: {
    50: '#c26d95',
    500: '#a2266b',
    950: '#000000',
  },
}
SCSS
$custom: #a2266b;
$custom-light: #c26d95;
$custom-dark: #000000;
JSON
{
  "hex": "#a2266b",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 107
  },
  "hsl": {
    "h": 326.613,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48886,
    "c": 0.17147,
    "h": 351.5
  },
  "luminance": 0.10129
}

Semantic roles & 50–950 ramp

primary
#A2266B
secondary
#63C18D
accent
#E58B43
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #A2266B

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

Preview Lab → · Contrast checker → · Palette generator →

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