#A6318E#A6318E

#A6318E is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.183 H 337.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A6318E
RGBrgb(166, 49, 142)
HSLhsl(312, 54%, 42%)
HSVhsv(312, 70%, 65%)
CMYKcmyk(0%, 70.5%, 14.5%, 34.9%)
CIE-LABlab(41.62, 57.25, -26.00)
CIE-LCHlch(41.62, 62.87, 335.57°)
OKLaboklab(52.09% 0.1686 -0.0706)
OKLCHoklch(52.09% 0.183 337.3)
XYZxyz(21.7071, 12.2586, 26.8088)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6318E #31A649
analogous
#8431A6 #A6318E #A63153
triadic
#A6318E #8EA631 #318EA6
tetradic
#A6318E #A68431 #31A649 #3153A6
square
#A6318E #A68431 #31A649 #3153A6
split-complementary
#A6318E #53A631 #31A684
monochromatic
#47153D #772366 #A6318E #CA4AB0 #D87AC4

Accessibility & contrast

On white

6.08
#A6318E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A6318E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6318E
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6318E#FFFFFF#000000##FFFFFF
##A6318E1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355791
Deuteranopia (green-blind)
#5B698B
Tritanopia (blue-blind)
#AF375B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a6318e;
/* rgb */ color: rgb(166, 49, 142);
/* oklch */ color: oklch(52.1% 0.183 337.3);
Tailwind
colors: {
  custom: {
    50: '#c473af',
    500: '#a6318e',
    950: '#000000',
  },
}
SCSS
$custom: #a6318e;
$custom-light: #c473af;
$custom-dark: #000000;
JSON
{
  "hex": "#a6318e",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 312.308,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52086,
    "c": 0.18278,
    "h": 337.3
  },
  "luminance": 0.12257
}

Semantic roles & 50–950 ramp

primary
#A6318E
secondary
#73C083
accent
#DE684A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A6318E

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

Preview Lab → · Contrast checker → · Palette generator →

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