#A6418D#A6418D

#A6418D is a mid, vivid pink. Relative luminance 0.138; OKLCH L 53.8% C 0.160 H 338.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#A6418D
RGBrgb(166, 65, 141)
HSLhsl(315, 44%, 45%)
HSVhsv(315, 61%, 65%)
CMYKcmyk(0%, 60.8%, 15.1%, 34.9%)
CIE-LABlab(43.96, 50.50, -21.77)
CIE-LCHlch(43.96, 54.99, 336.68°)
OKLaboklab(53.78% 0.1488 -0.0587)
OKLCHoklch(53.78% 0.16 338.5)
XYZxyz(22.4243, 13.8125, 26.6792)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6418D #41A65A
analogous
#8C41A6 #A6418D #A6415B
triadic
#A6418D #8DA641 #418DA6
tetradic
#A6418D #A68C41 #41A65A #415BA6
square
#A6418D #A68C41 #41A65A #415BA6
split-complementary
#A6418D #5BA641 #41A68C
monochromatic
#4E1F42 #7A3068 #A6418D #C262AA #D38EC2

Accessibility & contrast

On white

5.58
#A6418D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#A6418D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6418D
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6418D#FFFFFF#000000##FFFFFF
##A6418D1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455E8F
Deuteranopia (green-blind)
#636E8A
Tritanopia (blue-blind)
#AF4461
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a6418d;
/* rgb */ color: rgb(166, 65, 141);
/* oklch */ color: oklch(53.8% 0.160 338.5);
Tailwind
colors: {
  custom: {
    50: '#c37cae',
    500: '#a6418d',
    950: '#000000',
  },
}
SCSS
$custom: #a6418d;
$custom-light: #c37cae;
$custom-dark: #000000;
JSON
{
  "hex": "#a6418d",
  "rgb": {
    "r": 166,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 314.851,
    "s": 43.723,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53778,
    "c": 0.15994,
    "h": 338.5
  },
  "luminance": 0.13811
}

Semantic roles & 50–950 ramp

primary
#A6418D
secondary
#85BE93
accent
#D37454
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #A6418D

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

Preview Lab → · Contrast checker → · Palette generator →

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