#A8417C#A8417C

#A8417C is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.3% C 0.150 H 347.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A8417C
RGBrgb(168, 65, 124)
HSLhsl(326, 44%, 46%)
HSVhsv(326, 61%, 66%)
CMYKcmyk(0%, 61.3%, 26.2%, 34.1%)
CIE-LABlab(43.60, 48.59, -11.95)
CIE-LCHlch(43.60, 50.04, 346.19°)
OKLaboklab(53.35% 0.1469 -0.0314)
OKLCHoklch(53.35% 0.15 347.9)
XYZxyz(21.6777, 13.5628, 20.5411)
Luminance0.1356 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8417C #41A86D
analogous
#A041A8 #A8417C #A84148
triadic
#A8417C #7CA841 #417CA8
tetradic
#A8417C #A8A041 #41A86D #4148A8
square
#A8417C #A8A041 #41A86D #4148A8
split-complementary
#A8417C #48A841 #41A8A0
monochromatic
#501F3B #7C305B #A8417C #C3639A #D490B7

Accessibility & contrast

On white

5.66
#A8417C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#A8417C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8417C
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8417C#FFFFFF#000000##FFFFFF
##A8417C1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5C7E
Deuteranopia (green-blind)
#6A6E7A
Tritanopia (blue-blind)
#B33E59
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a8417c;
/* rgb */ color: rgb(168, 65, 124);
/* oklch */ color: oklch(53.3% 0.150 347.9);
Tailwind
colors: {
  custom: {
    50: '#c57ba2',
    500: '#a8417c',
    950: '#000000',
  },
}
SCSS
$custom: #a8417c;
$custom-light: #c57ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#a8417c",
  "rgb": {
    "r": 168,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 325.631,
    "s": 44.206,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5335,
    "c": 0.15018,
    "h": 347.9
  },
  "luminance": 0.13561
}

Semantic roles & 50–950 ramp

primary
#A8417C
secondary
#86BF9E
accent
#D48B54
background
#FCF7F9
surface
#F8EEF2
border
#D1C9CC
text
#130A0F
muted
#827C7E

Preview Lab

Preview with #A8417C

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

Preview Lab → · Contrast checker → · Palette generator →

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