#A6318A#A6318A

#A6318A is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.180 H 339.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A6318A
RGBrgb(166, 49, 138)
HSLhsl(314, 54%, 42%)
HSVhsv(314, 70%, 65%)
CMYKcmyk(0%, 70.5%, 16.9%, 34.9%)
CIE-LABlab(41.44, 56.66, -23.85)
CIE-LCHlch(41.44, 61.47, 337.17°)
OKLaboklab(51.89% 0.168 -0.0645)
OKLCHoklch(51.89% 0.18 339)
XYZxyz(21.4121, 12.1406, 25.2555)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6318A #31A64D
analogous
#8831A6 #A6318A #A63150
triadic
#A6318A #8AA631 #318AA6
tetradic
#A6318A #A68831 #31A64D #3150A6
square
#A6318A #A68831 #31A64D #3150A6
split-complementary
#A6318A #50A631 #31A688
monochromatic
#47153B #772363 #A6318A #CA4AAB #D87AC1

Accessibility & contrast

On white

6.13
#A6318A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A6318A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6318A
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6318A#FFFFFF#000000##FFFFFF
##A6318A1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568D
Deuteranopia (green-blind)
#5D6887
Tritanopia (blue-blind)
#AF3559
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a6318a;
/* rgb */ color: rgb(166, 49, 138);
/* oklch */ color: oklch(51.9% 0.180 339.0);
Tailwind
colors: {
  custom: {
    50: '#c473ac',
    500: '#a6318a',
    950: '#000000',
  },
}
SCSS
$custom: #a6318a;
$custom-light: #c473ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a6318a",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 138
  },
  "hsl": {
    "h": 314.359,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5189,
    "c": 0.17998,
    "h": 339
  },
  "luminance": 0.12139
}

Semantic roles & 50–950 ramp

primary
#A6318A
secondary
#73C085
accent
#DE6D4A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A6318A

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

Preview Lab → · Contrast checker → · Palette generator →

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