#A6317B#A6317B

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

Color values

HEX#A6317B
RGBrgb(166, 49, 123)
HSLhsl(322, 54%, 42%)
HSVhsv(322, 70%, 65%)
CMYKcmyk(0%, 70.5%, 25.9%, 34.9%)
CIE-LABlab(40.79, 54.57, -15.63)
CIE-LCHlch(40.79, 56.76, 344.02°)
OKLaboklab(51.21% 0.1652 -0.0414)
OKLCHoklch(51.21% 0.17 345.9)
XYZxyz(20.4002, 11.7358, 19.9259)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6317B #31A65C
analogous
#9731A6 #A6317B #A63141
triadic
#A6317B #7BA631 #317BA6
tetradic
#A6317B #A69731 #31A65C #3141A6
square
#A6317B #A69731 #31A65C #3141A6
split-complementary
#A6317B #41A631 #31A697
monochromatic
#471535 #772358 #A6317B #CA4A9B #D87AB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6317B#FFFFFF#000000##FFFFFF
##A6317B1.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)
#3F537D
Deuteranopia (green-blind)
#626778
Tritanopia (blue-blind)
#B12F51
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a6317b;
/* rgb */ color: rgb(166, 49, 123);
/* oklch */ color: oklch(51.2% 0.170 345.9);
Tailwind
colors: {
  custom: {
    50: '#c473a1',
    500: '#a6317b',
    950: '#000000',
  },
}
SCSS
$custom: #a6317b;
$custom-light: #c473a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a6317b",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 123
  },
  "hsl": {
    "h": 322.051,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51209,
    "c": 0.1703,
    "h": 345.9
  },
  "luminance": 0.11734
}

Semantic roles & 50–950 ramp

primary
#A6317B
secondary
#73C08F
accent
#DE804A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #A6317B

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

Preview Lab → · Contrast checker → · Palette generator →

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