#A6317D#A6317D

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

Color values

HEX#A6317D
RGBrgb(166, 49, 125)
HSLhsl(321, 54%, 42%)
HSVhsv(321, 70%, 65%)
CMYKcmyk(0%, 70.5%, 24.7%, 34.9%)
CIE-LABlab(40.87, 54.83, -16.74)
CIE-LCHlch(40.87, 57.33, 343.02°)
OKLaboklab(51.3% 0.1656 -0.0445)
OKLCHoklch(51.3% 0.172 345)
XYZxyz(20.5267, 11.7864, 20.5920)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6317D #31A65A
analogous
#9531A6 #A6317D #A63142
triadic
#A6317D #7DA631 #317DA6
tetradic
#A6317D #A69531 #31A65A #3142A6
square
#A6317D #A69531 #31A65A #3142A6
split-complementary
#A6317D #42A631 #31A695
monochromatic
#471536 #772359 #A6317D #CA4A9D #D87AB7

Accessibility & contrast

On white

6.26
#A6317D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6317D
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6317D#FFFFFF#000000##FFFFFF
##A6317D1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E547F
Deuteranopia (green-blind)
#61687A
Tritanopia (blue-blind)
#B12F52
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a6317d;
/* rgb */ color: rgb(166, 49, 125);
/* oklch */ color: oklch(51.3% 0.172 345.0);
Tailwind
colors: {
  custom: {
    50: '#c473a2',
    500: '#a6317d',
    950: '#000000',
  },
}
SCSS
$custom: #a6317d;
$custom-light: #c473a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a6317d",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 321.026,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51295,
    "c": 0.17152,
    "h": 345
  },
  "luminance": 0.11784
}

Semantic roles & 50–950 ramp

primary
#A6317D
secondary
#73C08E
accent
#DE7E4A
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A6317D

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

Preview Lab → · Contrast checker → · Palette generator →

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