#A8317D#A8317D

#A8317D is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.173 H 345.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A8317D
RGBrgb(168, 49, 125)
HSLhsl(322, 55%, 43%)
HSVhsv(322, 71%, 66%)
CMYKcmyk(0%, 70.8%, 25.6%, 34.1%)
CIE-LABlab(41.22, 55.38, -16.18)
CIE-LCHlch(41.22, 57.69, 343.72°)
OKLaboklab(51.62% 0.1676 -0.0429)
OKLCHoklch(51.62% 0.173 345.6)
XYZxyz(20.9493, 12.0043, 20.6119)
Luminance0.1200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8317D #31A85C
analogous
#9831A8 #A8317D #A83141
triadic
#A8317D #7DA831 #317DA8
tetradic
#A8317D #A89831 #31A85C #3141A8
square
#A8317D #A89831 #31A85C #3141A8
split-complementary
#A8317D #41A831 #31A898
monochromatic
#491536 #79235A #A8317D #CB4C9D #D87BB7

Accessibility & contrast

On white

6.18
#A8317D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A8317D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8317D
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8317D#FFFFFF#000000##FFFFFF
##A8317D1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F547F
Deuteranopia (green-blind)
#63697A
Tritanopia (blue-blind)
#B32F52
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a8317d;
/* rgb */ color: rgb(168, 49, 125);
/* oklch */ color: oklch(51.6% 0.173 345.6);
Tailwind
colors: {
  custom: {
    50: '#c673a2',
    500: '#a8317d',
    950: '#000000',
  },
}
SCSS
$custom: #a8317d;
$custom-light: #c673a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a8317d",
  "rgb": {
    "r": 168,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 321.681,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51616,
    "c": 0.17298,
    "h": 345.6
  },
  "luminance": 0.12002
}

Semantic roles & 50–950 ramp

primary
#A8317D
secondary
#74C190
accent
#DE7F4A
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A8317D

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

Preview Lab → · Contrast checker → · Palette generator →

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