#A6317F#A6317F

#A6317F is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.173 H 344.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A6317F
RGBrgb(166, 49, 127)
HSLhsl(320, 54%, 42%)
HSVhsv(320, 70%, 65%)
CMYKcmyk(0%, 70.5%, 23.5%, 34.9%)
CIE-LABlab(40.96, 55.10, -17.85)
CIE-LCHlch(40.96, 57.92, 342.05°)
OKLaboklab(51.38% 0.1661 -0.0476)
OKLCHoklch(51.38% 0.173 344)
XYZxyz(20.6557, 11.8380, 21.2717)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6317F #31A658
analogous
#9331A6 #A6317F #A63144
triadic
#A6317F #7FA631 #317FA6
tetradic
#A6317F #A69331 #31A658 #3144A6
square
#A6317F #A69331 #31A658 #3144A6
split-complementary
#A6317F #44A631 #31A693
monochromatic
#471537 #77235B #A6317F #CA4A9F #D87AB8

Accessibility & contrast

On white

6.24
#A6317F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A6317F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6317F
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6317F#FFFFFF#000000##FFFFFF
##A6317F1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5481
Deuteranopia (green-blind)
#60687C
Tritanopia (blue-blind)
#B13053
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a6317f;
/* rgb */ color: rgb(166, 49, 127);
/* oklch */ color: oklch(51.4% 0.173 344.0);
Tailwind
colors: {
  custom: {
    50: '#c473a4',
    500: '#a6317f',
    950: '#000000',
  },
}
SCSS
$custom: #a6317f;
$custom-light: #c473a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a6317f",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 127
  },
  "hsl": {
    "h": 320,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51383,
    "c": 0.17274,
    "h": 344
  },
  "luminance": 0.11836
}

Semantic roles & 50–950 ramp

primary
#A6317F
secondary
#73C08C
accent
#DE7B4A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A6317F

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

Preview Lab → · Contrast checker → · Palette generator →

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