#A0226F#A0226F

#A0226F is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.176 H 348.5°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#A0226F
RGBrgb(160, 34, 111)
HSLhsl(323, 65%, 38%)
HSVhsv(323, 79%, 63%)
CMYKcmyk(0%, 78.8%, 30.6%, 37.3%)
CIE-LABlab(37.42, 56.54, -13.38)
CIE-LCHlch(37.42, 58.11, 346.69°)
OKLaboklab(48.39% 0.1727 -0.0352)
OKLCHoklch(48.39% 0.176 348.5)
XYZxyz(17.9394, 9.7674, 15.9764)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0226F #22A053
analogous
#9222A0 #A0226F #A02230
triadic
#A0226F #6FA022 #226FA0
tetradic
#A0226F #A09222 #22A053 #2230A0
square
#A0226F #A09222 #22A053 #2230A0
split-complementary
#A0226F #30A022 #22A092
monochromatic
#3B0D29 #6E174C #A0226F #D22D92 #DD5FAC

Accessibility & contrast

On white

7.11
#A0226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#A0226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A0226F
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0226F#FFFFFF#000000##FFFFFF
##A0226F1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374A71
Deuteranopia (green-blind)
#5C606C
Tritanopia (blue-blind)
#AC1B46
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a0226f;
/* rgb */ color: rgb(160, 34, 111);
/* oklch */ color: oklch(48.4% 0.176 348.5);
Tailwind
colors: {
  custom: {
    50: '#c06b98',
    500: '#a0226f',
    950: '#000000',
  },
}
SCSS
$custom: #a0226f;
$custom-light: #c06b98;
$custom-dark: #000000;
JSON
{
  "hex": "#a0226f",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 323.333,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48391,
    "c": 0.17623,
    "h": 348.5
  },
  "luminance": 0.09765
}

Semantic roles & 50–950 ramp

primary
#A0226F
secondary
#5CC284
accent
#E88140
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #A0226F

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

Preview Lab → · Contrast checker → · Palette generator →

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