#A6318F#A6318F

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

Color values

HEX#A6318F
RGBrgb(166, 49, 143)
HSLhsl(312, 54%, 42%)
HSVhsv(312, 70%, 65%)
CMYKcmyk(0%, 70.5%, 13.9%, 34.9%)
CIE-LABlab(41.67, 57.40, -26.54)
CIE-LCHlch(41.67, 63.23, 335.19°)
OKLaboklab(52.14% 0.1687 -0.0721)
OKLCHoklch(52.14% 0.183 336.9)
XYZxyz(21.7825, 12.2887, 27.2060)
Luminance0.1229 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6318F #31A648
analogous
#8331A6 #A6318F #A63154
triadic
#A6318F #8FA631 #318FA6
tetradic
#A6318F #A68331 #31A648 #3154A6
square
#A6318F #A68331 #31A648 #3154A6
split-complementary
#A6318F #54A631 #31A683
monochromatic
#47153E #772366 #A6318F #CA4AB1 #D87AC5

Accessibility & contrast

On white

6.07
#A6318F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A6318F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6318F
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6318F#FFFFFF#000000##FFFFFF
##A6318F1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345792
Deuteranopia (green-blind)
#5B698C
Tritanopia (blue-blind)
#AF385C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a6318f;
/* rgb */ color: rgb(166, 49, 143);
/* oklch */ color: oklch(52.1% 0.183 336.9);
Tailwind
colors: {
  custom: {
    50: '#c473b0',
    500: '#a6318f',
    950: '#000000',
  },
}
SCSS
$custom: #a6318f;
$custom-light: #c473b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a6318f",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 311.795,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52135,
    "c": 0.18349,
    "h": 336.9
  },
  "luminance": 0.12287
}

Semantic roles & 50–950 ramp

primary
#A6318F
secondary
#73C082
accent
#DE674A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A6318F

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

Preview Lab → · Contrast checker → · Palette generator →

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