#A7417C#A7417C

#A7417C is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.2% C 0.149 H 347.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A7417C
RGBrgb(167, 65, 124)
HSLhsl(325, 44%, 45%)
HSVhsv(325, 61%, 65%)
CMYKcmyk(0%, 61.1%, 25.7%, 34.5%)
CIE-LABlab(43.44, 48.29, -12.21)
CIE-LCHlch(43.44, 49.81, 345.81°)
OKLaboklab(53.2% 0.1458 -0.0321)
OKLCHoklch(53.2% 0.149 347.6)
XYZxyz(21.4655, 13.4534, 20.5311)
Luminance0.1345 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7417C #41A76C
analogous
#9F41A7 #A7417C #A74149
triadic
#A7417C #7CA741 #417CA7
tetradic
#A7417C #A79F41 #41A76C #4149A7
square
#A7417C #A79F41 #41A76C #4149A7
split-complementary
#A7417C #49A741 #41A79F
monochromatic
#4F1F3B #7B305B #A7417C #C2639A #D38FB7

Accessibility & contrast

On white

5.69
#A7417C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#A7417C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7417C
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7417C#FFFFFF#000000##FFFFFF
##A7417C1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5B7E
Deuteranopia (green-blind)
#696D7A
Tritanopia (blue-blind)
#B23E59
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a7417c;
/* rgb */ color: rgb(167, 65, 124);
/* oklch */ color: oklch(53.2% 0.149 347.6);
Tailwind
colors: {
  custom: {
    50: '#c47ba2',
    500: '#a7417c',
    950: '#000000',
  },
}
SCSS
$custom: #a7417c;
$custom-light: #c47ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#a7417c",
  "rgb": {
    "r": 167,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 325.294,
    "s": 43.966,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53199,
    "c": 0.14932,
    "h": 347.6
  },
  "luminance": 0.13451
}

Semantic roles & 50–950 ramp

primary
#A7417C
secondary
#85BF9D
accent
#D48A54
background
#FCF7F9
surface
#F8EEF2
border
#D1C9CC
text
#130A0F
muted
#827C7E

Preview Lab

Preview with #A7417C

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

Preview Lab → · Contrast checker → · Palette generator →

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