#A0227D#A0227D

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

Color values

HEX#A0227D
RGBrgb(160, 34, 125)
HSLhsl(317, 65%, 38%)
HSVhsv(317, 79%, 63%)
CMYKcmyk(0%, 78.8%, 21.9%, 37.3%)
CIE-LABlab(38.02, 58.32, -21.22)
CIE-LCHlch(38.02, 62.07, 340.00°)
OKLaboklab(49.02% 0.1754 -0.057)
OKLCHoklch(49.02% 0.184 342)
XYZxyz(18.7716, 10.1003, 20.3590)
Luminance0.1010 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0227D #22A045
analogous
#8422A0 #A0227D #A0223E
triadic
#A0227D #7DA022 #227DA0
tetradic
#A0227D #A08422 #22A045 #223EA0
square
#A0227D #A08422 #22A045 #223EA0
split-complementary
#A0227D #3EA022 #22A084
monochromatic
#3B0D2E #6E1756 #A0227D #D22DA4 #DD5FBA

Accessibility & contrast

On white

6.95
#A0227D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#A0227D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0227D
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0227D#FFFFFF#000000##FFFFFF
##A0227D1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7F
Deuteranopia (green-blind)
#57617A
Tritanopia (blue-blind)
#AA244D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a0227d;
/* rgb */ color: rgb(160, 34, 125);
/* oklch */ color: oklch(49.0% 0.184 342.0);
Tailwind
colors: {
  custom: {
    50: '#c06ca3',
    500: '#a0227d',
    950: '#000000',
  },
}
SCSS
$custom: #a0227d;
$custom-light: #c06ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#a0227d",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 316.667,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49021,
    "c": 0.18443,
    "h": 342
  },
  "luminance": 0.10098
}

Semantic roles & 50–950 ramp

primary
#A0227D
secondary
#5CC278
accent
#E86F40
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A0227D

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

Preview Lab → · Contrast checker → · Palette generator →

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