#A2266C#A2266C

#A2266C is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.172 H 351.0°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#A2266C
RGBrgb(162, 38, 108)
HSLhsl(326, 62%, 39%)
HSVhsv(326, 77%, 64%)
CMYKcmyk(0%, 76.5%, 33.3%, 36.5%)
CIE-LABlab(38.11, 55.47, -10.40)
CIE-LCHlch(38.11, 56.44, 349.38°)
OKLaboklab(48.93% 0.1698 -0.027)
OKLCHoklch(48.93% 0.172 351)
XYZxyz(18.3012, 10.1525, 15.1803)
Luminance0.1015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2266C #26A25C
analogous
#9A26A2 #A2266C #A2262E
triadic
#A2266C #6CA226 #266CA2
tetradic
#A2266C #A29A26 #26A25C #262EA2
square
#A2266C #A29A26 #26A25C #262EA2
split-complementary
#A2266C #2EA226 #26A29A
monochromatic
#3F0F2A #701A4B #A2266C #D0358D #DB67A9

Accessibility & contrast

On white

6.93
#A2266C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A2266C
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2266C#FFFFFF#000000##FFFFFF
##A2266C1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4C6E
Deuteranopia (green-blind)
#5F6269
Tritanopia (blue-blind)
#AE1C46
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a2266c;
/* rgb */ color: rgb(162, 38, 108);
/* oklch */ color: oklch(48.9% 0.172 351.0);
Tailwind
colors: {
  custom: {
    50: '#c26d96',
    500: '#a2266c',
    950: '#000000',
  },
}
SCSS
$custom: #a2266c;
$custom-light: #c26d96;
$custom-dark: #000000;
JSON
{
  "hex": "#a2266c",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 108
  },
  "hsl": {
    "h": 326.129,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48926,
    "c": 0.17198,
    "h": 351
  },
  "luminance": 0.1015
}

Semantic roles & 50–950 ramp

primary
#A2266C
secondary
#63C18C
accent
#E58943
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #A2266C

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

Preview Lab → · Contrast checker → · Palette generator →

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