#A0226B#A0226B

#A0226B is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.174 H 350.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#A0226B
RGBrgb(160, 34, 107)
HSLhsl(325, 65%, 38%)
HSVhsv(325, 79%, 63%)
CMYKcmyk(0%, 78.8%, 33.1%, 37.3%)
CIE-LABlab(37.26, 56.07, -11.10)
CIE-LCHlch(37.26, 57.16, 348.81°)
OKLaboklab(48.22% 0.1717 -0.0289)
OKLCHoklch(48.22% 0.174 350.5)
XYZxyz(17.7241, 9.6813, 14.8424)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0226B #22A057
analogous
#9622A0 #A0226B #A0222C
triadic
#A0226B #6BA022 #226BA0
tetradic
#A0226B #A09622 #22A057 #222CA0
square
#A0226B #A09622 #22A057 #222CA0
split-complementary
#A0226B #2CA022 #22A096
monochromatic
#3B0D27 #6E1749 #A0226B #D22D8D #DD5FA8

Accessibility & contrast

On white

7.15
#A0226B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#A0226B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A0226B
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0226B#FFFFFF#000000##FFFFFF
##A0226B1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39496D
Deuteranopia (green-blind)
#5D6068
Tritanopia (blue-blind)
#AC1844
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a0226b;
/* rgb */ color: rgb(160, 34, 107);
/* oklch */ color: oklch(48.2% 0.174 350.5);
Tailwind
colors: {
  custom: {
    50: '#c16b95',
    500: '#a0226b',
    950: '#000000',
  },
}
SCSS
$custom: #a0226b;
$custom-light: #c16b95;
$custom-dark: #000000;
JSON
{
  "hex": "#a0226b",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 325.238,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48224,
    "c": 0.17414,
    "h": 350.5
  },
  "luminance": 0.09679
}

Semantic roles & 50–950 ramp

primary
#A0226B
secondary
#5CC287
accent
#E88740
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #A0226B

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

Preview Lab → · Contrast checker → · Palette generator →

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