#A6318D#A6318D

#A6318D is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.182 H 337.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#A6318D
RGBrgb(166, 49, 141)
HSLhsl(313, 54%, 42%)
HSVhsv(313, 70%, 65%)
CMYKcmyk(0%, 70.5%, 15.1%, 34.9%)
CIE-LABlab(41.58, 57.10, -25.47)
CIE-LCHlch(41.58, 62.52, 335.96°)
OKLaboklab(52.04% 0.1685 -0.0691)
OKLCHoklch(52.04% 0.182 337.7)
XYZxyz(21.6323, 12.2287, 26.4152)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6318D #31A64A
analogous
#8531A6 #A6318D #A63152
triadic
#A6318D #8DA631 #318DA6
tetradic
#A6318D #A68531 #31A64A #3152A6
square
#A6318D #A68531 #31A64A #3152A6
split-complementary
#A6318D #52A631 #31A685
monochromatic
#47153D #772365 #A6318D #CA4AAF #D87AC4

Accessibility & contrast

On white

6.10
#A6318D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6318D
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6318D#FFFFFF#000000##FFFFFF
##A6318D1.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6318d;
/* rgb */ color: rgb(166, 49, 141);
/* oklch */ color: oklch(52.0% 0.182 337.7);
Tailwind
colors: {
  custom: {
    50: '#c473ae',
    500: '#a6318d',
    950: '#000000',
  },
}
SCSS
$custom: #a6318d;
$custom-light: #c473ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a6318d",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 312.821,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52036,
    "c": 0.18207,
    "h": 337.7
  },
  "luminance": 0.12227
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6318D

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

Preview Lab → · Contrast checker → · Palette generator →

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