#A1318B#A1318B

#A1318B is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.177 H 336.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A1318B
RGBrgb(161, 49, 139)
HSLhsl(312, 53%, 41%)
HSVhsv(312, 70%, 63%)
CMYKcmyk(0%, 69.6%, 13.7%, 36.9%)
CIE-LABlab(40.64, 55.52, -25.77)
CIE-LCHlch(40.64, 61.21, 335.10°)
OKLaboklab(51.16% 0.1631 -0.07)
OKLCHoklch(51.16% 0.177 336.8)
XYZxyz(20.4568, 11.6396, 25.5904)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1318B #31A147
analogous
#7F31A1 #A1318B #A13153
triadic
#A1318B #8BA131 #318BA1
tetradic
#A1318B #A17F31 #31A147 #3153A1
square
#A1318B #A17F31 #31A147 #3153A1
split-complementary
#A1318B #53A131 #31A17F
monochromatic
#43143A #722362 #A1318B #C748AE #D677C3

Accessibility & contrast

On white

6.31
#A1318B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A1318B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1318B
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1318B#FFFFFF#000000##FFFFFF
##A1318B1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33558E
Deuteranopia (green-blind)
#586688
Tritanopia (blue-blind)
#A9375A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a1318b;
/* rgb */ color: rgb(161, 49, 139);
/* oklch */ color: oklch(51.2% 0.177 336.8);
Tailwind
colors: {
  custom: {
    50: '#c073ad',
    500: '#a1318b',
    950: '#000000',
  },
}
SCSS
$custom: #a1318b;
$custom-light: #c073ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a1318b",
  "rgb": {
    "r": 161,
    "g": 49,
    "b": 139
  },
  "hsl": {
    "h": 311.786,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51161,
    "c": 0.17746,
    "h": 336.8
  },
  "luminance": 0.11638
}

Semantic roles & 50–950 ramp

primary
#A1318B
secondary
#70BE7F
accent
#DD684B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A1318B

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

Preview Lab → · Contrast checker → · Palette generator →

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