#A6417E#A6417E

#A6417E is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.1% C 0.150 H 346.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#A6417E
RGBrgb(166, 65, 126)
HSLhsl(324, 44%, 45%)
HSVhsv(324, 61%, 65%)
CMYKcmyk(0%, 60.8%, 24.1%, 34.9%)
CIE-LABlab(43.35, 48.26, -13.57)
CIE-LCHlch(43.35, 50.13, 344.29°)
OKLaboklab(53.13% 0.1453 -0.0359)
OKLCHoklch(53.13% 0.15 346.1)
XYZxyz(21.3828, 13.3959, 21.1942)
Luminance0.1339 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6417E #41A669
analogous
#9B41A6 #A6417E #A6414C
triadic
#A6417E #7EA641 #417EA6
tetradic
#A6417E #A69B41 #41A669 #414CA6
square
#A6417E #A69B41 #41A669 #414CA6
split-complementary
#A6417E #4CA641 #41A69B
monochromatic
#4E1F3B #7A305D #A6417E #C2629C #D38EB8

Accessibility & contrast

On white

5.71
#A6417E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#A6417E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6417E
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6417E#FFFFFF#000000##FFFFFF
##A6417E1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5C80
Deuteranopia (green-blind)
#686D7C
Tritanopia (blue-blind)
#B13F5A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a6417e;
/* rgb */ color: rgb(166, 65, 126);
/* oklch */ color: oklch(53.1% 0.150 346.1);
Tailwind
colors: {
  custom: {
    50: '#c37ba3',
    500: '#a6417e',
    950: '#000000',
  },
}
SCSS
$custom: #a6417e;
$custom-light: #c37ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#a6417e",
  "rgb": {
    "r": 166,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 323.762,
    "s": 43.723,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5313,
    "c": 0.14967,
    "h": 346.1
  },
  "luminance": 0.13394
}

Semantic roles & 50–950 ramp

primary
#A6417E
secondary
#85BE9B
accent
#D38754
background
#FCF7FA
surface
#F8EEF3
border
#D1C9CD
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #A6417E

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

Preview Lab → · Contrast checker → · Palette generator →

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