#A0227C#A0227C

#A0227C is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.0% C 0.184 H 342.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#A0227C
RGBrgb(160, 34, 124)
HSLhsl(317, 65%, 38%)
HSVhsv(317, 79%, 63%)
CMYKcmyk(0%, 78.8%, 22.5%, 37.3%)
CIE-LABlab(37.98, 58.19, -20.67)
CIE-LCHlch(37.98, 61.75, 340.44°)
OKLaboklab(48.97% 0.1752 -0.0555)
OKLCHoklch(48.97% 0.184 342.4)
XYZxyz(18.7080, 10.0749, 20.0243)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0227C #22A046
analogous
#8522A0 #A0227C #A0223D
triadic
#A0227C #7CA022 #227CA0
tetradic
#A0227C #A08522 #22A046 #223DA0
square
#A0227C #A08522 #22A046 #223DA0
split-complementary
#A0227C #3DA022 #22A085
monochromatic
#3B0D2E #6E1755 #A0227C #D22DA3 #DD5FB9

Accessibility & contrast

On white

6.97
#A0227C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A0227C
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0227C#FFFFFF#000000##FFFFFF
##A0227C1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7E
Deuteranopia (green-blind)
#586179
Tritanopia (blue-blind)
#AA234D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a0227c;
/* rgb */ color: rgb(160, 34, 124);
/* oklch */ color: oklch(49.0% 0.184 342.4);
Tailwind
colors: {
  custom: {
    50: '#c06ca2',
    500: '#a0227c',
    950: '#000000',
  },
}
SCSS
$custom: #a0227c;
$custom-light: #c06ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#a0227c",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 124
  },
  "hsl": {
    "h": 317.143,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48974,
    "c": 0.18381,
    "h": 342.4
  },
  "luminance": 0.10073
}

Semantic roles & 50–950 ramp

primary
#A0227C
secondary
#5CC279
accent
#E87040
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A0227C

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

Preview Lab → · Contrast checker → · Palette generator →

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