#A6407B#A6407B

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

Color values

HEX#A6407B
RGBrgb(166, 64, 123)
HSLhsl(325, 44%, 45%)
HSVhsv(325, 61%, 65%)
CMYKcmyk(0%, 61.4%, 25.9%, 34.9%)
CIE-LABlab(43.07, 48.30, -12.16)
CIE-LCHlch(43.07, 49.81, 345.86°)
OKLaboklab(52.88% 0.1459 -0.032)
OKLCHoklch(52.88% 0.149 347.6)
XYZxyz(21.1352, 13.2059, 20.1710)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6407B #40A66B
analogous
#9E40A6 #A6407B #A64048
triadic
#A6407B #7BA640 #407BA6
tetradic
#A6407B #A69E40 #40A66B #4048A6
square
#A6407B #A69E40 #40A66B #4048A6
split-complementary
#A6407B #48A640 #40A69E
monochromatic
#4E1E3A #7A2F5A #A6407B #C26199 #D38DB6

Accessibility & contrast

On white

5.77
#A6407B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A6407B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6407B
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6407B#FFFFFF#000000##FFFFFF
##A6407B1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5B7D
Deuteranopia (green-blind)
#686C79
Tritanopia (blue-blind)
#B13D58
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a6407b;
/* rgb */ color: rgb(166, 64, 123);
/* oklch */ color: oklch(52.9% 0.149 347.6);
Tailwind
colors: {
  custom: {
    50: '#c47ba1',
    500: '#a6407b',
    950: '#000000',
  },
}
SCSS
$custom: #a6407b;
$custom-light: #c47ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#a6407b",
  "rgb": {
    "r": 166,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 325.294,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52884,
    "c": 0.14937,
    "h": 347.6
  },
  "luminance": 0.13204
}

Semantic roles & 50–950 ramp

primary
#A6407B
secondary
#84BE9C
accent
#D48A54
background
#FCF7F9
surface
#F8EEF2
border
#D1C9CC
text
#130A0F
muted
#827C7E

Preview Lab

Preview with #A6407B

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

Preview Lab → · Contrast checker → · Palette generator →

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