#A6427F#A6427F

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

Color values

HEX#A6427F
RGBrgb(166, 66, 127)
HSLhsl(323, 43%, 45%)
HSVhsv(323, 60%, 65%)
CMYKcmyk(0%, 60.2%, 23.5%, 34.9%)
CIE-LABlab(43.56, 47.94, -13.87)
CIE-LCHlch(43.56, 49.91, 343.87°)
OKLaboklab(53.3% 0.1442 -0.0367)
OKLCHoklch(53.3% 0.149 345.7)
XYZxyz(21.5056, 13.5377, 21.5550)
Luminance0.1354 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6427F #42A669
analogous
#9B42A6 #A6427F #A6424D
triadic
#A6427F #7FA642 #427FA6
tetradic
#A6427F #A69B42 #42A669 #424DA6
square
#A6427F #A69B42 #42A669 #424DA6
split-complementary
#A6427F #4DA642 #42A69B
monochromatic
#4E1F3C #7A315D #A6427F #C1649D #D390B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6427F#FFFFFF#000000##FFFFFF
##A6427F1.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)
#4C5C81
Deuteranopia (green-blind)
#686D7D
Tritanopia (blue-blind)
#B0415B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a6427f;
/* rgb */ color: rgb(166, 66, 127);
/* oklch */ color: oklch(53.3% 0.149 345.7);
Tailwind
colors: {
  custom: {
    50: '#c37ca4',
    500: '#a6427f',
    950: '#000000',
  },
}
SCSS
$custom: #a6427f;
$custom-light: #c37ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#a6427f",
  "rgb": {
    "r": 166,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 323.4,
    "s": 43.103,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53297,
    "c": 0.14877,
    "h": 345.7
  },
  "luminance": 0.13536
}

Semantic roles & 50–950 ramp

primary
#A6427F
secondary
#86BE9C
accent
#D38655
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #A6427F

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

Preview Lab → · Contrast checker → · Palette generator →

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