#A6317E#A6317E

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

Color values

HEX#A6317E
RGBrgb(166, 49, 126)
HSLhsl(321, 54%, 42%)
HSVhsv(321, 70%, 65%)
CMYKcmyk(0%, 70.5%, 24.1%, 34.9%)
CIE-LABlab(40.92, 54.97, -17.29)
CIE-LCHlch(40.92, 57.62, 342.54°)
OKLaboklab(51.34% 0.1659 -0.046)
OKLCHoklch(51.34% 0.172 344.5)
XYZxyz(20.5909, 11.8121, 20.9302)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6317E #31A659
analogous
#9431A6 #A6317E #A63143
triadic
#A6317E #7EA631 #317EA6
tetradic
#A6317E #A69431 #31A659 #3143A6
square
#A6317E #A69431 #31A659 #3143A6
split-complementary
#A6317E #43A631 #31A694
monochromatic
#471536 #77235A #A6317E #CA4A9E #D87AB8

Accessibility & contrast

On white

6.25
#A6317E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A6317E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6317E
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6317E#FFFFFF#000000##FFFFFF
##A6317E1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5480
Deuteranopia (green-blind)
#61687B
Tritanopia (blue-blind)
#B13053
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a6317e;
/* rgb */ color: rgb(166, 49, 126);
/* oklch */ color: oklch(51.3% 0.172 344.5);
Tailwind
colors: {
  custom: {
    50: '#c473a3',
    500: '#a6317e',
    950: '#000000',
  },
}
SCSS
$custom: #a6317e;
$custom-light: #c473a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a6317e",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 320.513,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51339,
    "c": 0.17212,
    "h": 344.5
  },
  "luminance": 0.1181
}

Semantic roles & 50–950 ramp

primary
#A6317E
secondary
#73C08D
accent
#DE7D4A
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A6317E

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

Preview Lab → · Contrast checker → · Palette generator →

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