#A0227F#A0227F

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

Color values

HEX#A0227F
RGBrgb(160, 34, 127)
HSLhsl(316, 65%, 38%)
HSVhsv(316, 79%, 63%)
CMYKcmyk(0%, 78.8%, 20.6%, 37.3%)
CIE-LABlab(38.11, 58.59, -22.32)
CIE-LCHlch(38.11, 62.70, 339.14°)
OKLaboklab(49.12% 0.1757 -0.0602)
OKLCHoklch(49.12% 0.186 341.1)
XYZxyz(18.9006, 10.1519, 21.0387)
Luminance0.1015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0227F #22A043
analogous
#8222A0 #A0227F #A02240
triadic
#A0227F #7FA022 #227FA0
tetradic
#A0227F #A08222 #22A043 #2240A0
square
#A0227F #A08222 #22A043 #2240A0
split-complementary
#A0227F #40A022 #22A082
monochromatic
#3B0D2F #6E1757 #A0227F #D22DA7 #DD5FBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A0227F#FFFFFF#000000##FFFFFF
##A0227F1.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)
#2E4D81
Deuteranopia (green-blind)
#57617C
Tritanopia (blue-blind)
#AA254F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a0227f;
/* rgb */ color: rgb(160, 34, 127);
/* oklch */ color: oklch(49.1% 0.186 341.1);
Tailwind
colors: {
  custom: {
    50: '#c06ca4',
    500: '#a0227f',
    950: '#000000',
  },
}
SCSS
$custom: #a0227f;
$custom-light: #c06ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#a0227f",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 315.714,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49118,
    "c": 0.1857,
    "h": 341.1
  },
  "luminance": 0.1015
}

Semantic roles & 50–950 ramp

primary
#A0227F
secondary
#5CC277
accent
#E86C40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A0227F

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

Preview Lab → · Contrast checker → · Palette generator →

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