#A0227B#A0227B

#A0227B is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.9% C 0.183 H 342.9°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#A0227B
RGBrgb(160, 34, 123)
HSLhsl(318, 65%, 38%)
HSVhsv(318, 79%, 63%)
CMYKcmyk(0%, 78.8%, 23.1%, 37.3%)
CIE-LABlab(37.93, 58.06, -20.12)
CIE-LCHlch(37.93, 61.45, 340.89°)
OKLaboklab(48.93% 0.1751 -0.0539)
OKLCHoklch(48.93% 0.183 342.9)
XYZxyz(18.6451, 10.0497, 19.6929)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0227B #22A047
analogous
#8622A0 #A0227B #A0223C
triadic
#A0227B #7BA022 #227BA0
tetradic
#A0227B #A08622 #22A047 #223CA0
square
#A0227B #A08622 #22A047 #223CA0
split-complementary
#A0227B #3CA022 #22A086
monochromatic
#3B0D2D #6E1754 #A0227B #D22DA2 #DD5FB8

Accessibility & contrast

On white

6.98
#A0227B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#A0227B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0227B
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0227B#FFFFFF#000000##FFFFFF
##A0227B1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7D
Deuteranopia (green-blind)
#586178
Tritanopia (blue-blind)
#AB234C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a0227b;
/* rgb */ color: rgb(160, 34, 123);
/* oklch */ color: oklch(48.9% 0.183 342.9);
Tailwind
colors: {
  custom: {
    50: '#c06ca1',
    500: '#a0227b',
    950: '#000000',
  },
}
SCSS
$custom: #a0227b;
$custom-light: #c06ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#a0227b",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 317.619,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48927,
    "c": 0.18318,
    "h": 342.9
  },
  "luminance": 0.10048
}

Semantic roles & 50–950 ramp

primary
#A0227B
secondary
#5CC27A
accent
#E87140
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080F
muted
#827A7E

Preview Lab

Preview with #A0227B

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

Preview Lab → · Contrast checker → · Palette generator →

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