#A6317C#A6317C

#A6317C is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.171 H 345.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A6317C
RGBrgb(166, 49, 124)
HSLhsl(322, 54%, 42%)
HSVhsv(322, 70%, 65%)
CMYKcmyk(0%, 70.5%, 25.3%, 34.9%)
CIE-LABlab(40.83, 54.70, -16.19)
CIE-LCHlch(40.83, 57.04, 343.52°)
OKLaboklab(51.25% 0.1654 -0.043)
OKLCHoklch(51.25% 0.171 345.4)
XYZxyz(20.4631, 11.7610, 20.2573)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6317C #31A65B
analogous
#9531A6 #A6317C #A63142
triadic
#A6317C #7CA631 #317CA6
tetradic
#A6317C #A69531 #31A65B #3142A6
square
#A6317C #A69531 #31A65B #3142A6
split-complementary
#A6317C #42A631 #31A695
monochromatic
#471535 #772359 #A6317C #CA4A9C #D87AB6

Accessibility & contrast

On white

6.27
#A6317C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A6317C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6317C
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6317C#FFFFFF#000000##FFFFFF
##A6317C1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F547E
Deuteranopia (green-blind)
#616779
Tritanopia (blue-blind)
#B12F52
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a6317c;
/* rgb */ color: rgb(166, 49, 124);
/* oklch */ color: oklch(51.3% 0.171 345.4);
Tailwind
colors: {
  custom: {
    50: '#c473a2',
    500: '#a6317c',
    950: '#000000',
  },
}
SCSS
$custom: #a6317c;
$custom-light: #c473a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a6317c",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 321.538,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51252,
    "c": 0.17091,
    "h": 345.4
  },
  "luminance": 0.11759
}

Semantic roles & 50–950 ramp

primary
#A6317C
secondary
#73C08E
accent
#DE7F4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #A6317C

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

Preview Lab → · Contrast checker → · Palette generator →

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