#A6317A#A6317A

#A6317A is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.170 H 346.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A6317A
RGBrgb(166, 49, 122)
HSLhsl(323, 54%, 42%)
HSVhsv(323, 70%, 65%)
CMYKcmyk(0%, 70.5%, 26.5%, 34.9%)
CIE-LABlab(40.75, 54.44, -15.07)
CIE-LCHlch(40.75, 56.48, 344.52°)
OKLaboklab(51.17% 0.165 -0.0399)
OKLCHoklch(51.17% 0.17 346.4)
XYZxyz(20.3379, 11.7109, 19.5979)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6317A #31A65D
analogous
#9831A6 #A6317A #A63140
triadic
#A6317A #7AA631 #317AA6
tetradic
#A6317A #A69831 #31A65D #3140A6
square
#A6317A #A69831 #31A65D #3140A6
split-complementary
#A6317A #40A631 #31A698
monochromatic
#471535 #772357 #A6317A #CA4A9A #D87AB4

Accessibility & contrast

On white

6.28
#A6317A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A6317A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6317A
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6317A#FFFFFF#000000##FFFFFF
##A6317A1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40537C
Deuteranopia (green-blind)
#626777
Tritanopia (blue-blind)
#B12E51
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a6317a;
/* rgb */ color: rgb(166, 49, 122);
/* oklch */ color: oklch(51.2% 0.170 346.4);
Tailwind
colors: {
  custom: {
    50: '#c473a0',
    500: '#a6317a',
    950: '#000000',
  },
}
SCSS
$custom: #a6317a;
$custom-light: #c473a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a6317a",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 122
  },
  "hsl": {
    "h": 322.564,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51166,
    "c": 0.16971,
    "h": 346.4
  },
  "luminance": 0.11709
}

Semantic roles & 50–950 ramp

primary
#A6317A
secondary
#73C090
accent
#DE824A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #A6317A

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

Preview Lab → · Contrast checker → · Palette generator →

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