#A1317E#A1317E

#A1317E is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.5% C 0.169 H 342.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A1317E
RGBrgb(161, 49, 126)
HSLhsl(319, 53%, 41%)
HSVhsv(319, 70%, 63%)
CMYKcmyk(0%, 69.6%, 21.7%, 36.9%)
CIE-LABlab(40.05, 53.61, -18.70)
CIE-LCHlch(40.05, 56.78, 340.77°)
OKLaboklab(50.54% 0.1609 -0.05)
OKLCHoklch(50.54% 0.169 342.7)
XYZxyz(19.5628, 11.2820, 20.8820)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1317E #31A154
analogous
#8C31A1 #A1317E #A13146
triadic
#A1317E #7EA131 #317EA1
tetradic
#A1317E #A18C31 #31A154 #3146A1
square
#A1317E #A18C31 #31A154 #3146A1
split-complementary
#A1317E #46A131 #31A18C
monochromatic
#431435 #722359 #A1317E #C7489F #D677B8

Accessibility & contrast

On white

6.45
#A1317E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A1317E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1317E
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1317E#FFFFFF#000000##FFFFFF
##A1317E1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5380
Deuteranopia (green-blind)
#5D657B
Tritanopia (blue-blind)
#AB3253
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a1317e;
/* rgb */ color: rgb(161, 49, 126);
/* oklch */ color: oklch(50.5% 0.169 342.7);
Tailwind
colors: {
  custom: {
    50: '#c072a3',
    500: '#a1317e',
    950: '#000000',
  },
}
SCSS
$custom: #a1317e;
$custom-light: #c072a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a1317e",
  "rgb": {
    "r": 161,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 318.75,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50543,
    "c": 0.1685,
    "h": 342.7
  },
  "luminance": 0.1128
}

Semantic roles & 50–950 ramp

primary
#A1317E
secondary
#70BE88
accent
#DD794B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A1317E

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

Preview Lab → · Contrast checker → · Palette generator →

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