#A6316A#A6316A

#A6316A is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.5% C 0.161 H 354.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A6316A
RGBrgb(166, 49, 106)
HSLhsl(331, 54%, 42%)
HSVhsv(331, 70%, 65%)
CMYKcmyk(0%, 70.5%, 36.1%, 34.9%)
CIE-LABlab(40.16, 52.47, -6.01)
CIE-LCHlch(40.16, 52.81, 353.47°)
OKLaboklab(50.54% 0.1607 -0.0152)
OKLCHoklch(50.54% 0.161 354.6)
XYZxyz(19.4269, 11.3465, 14.7999)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6316A #31A66D
analogous
#A631A5 #A6316A #A63231
triadic
#A6316A #6AA631 #316AA6
tetradic
#A6316A #A5A631 #31A66D #3231A6
square
#A6316A #A5A631 #31A66D #3231A6
split-complementary
#A6316A #31A632 #31A5A6
monochromatic
#47152E #77234C #A6316A #CA4A88 #D87AA7

Accessibility & contrast

On white

6.42
#A6316A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A6316A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6316A
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6316A#FFFFFF#000000##FFFFFF
##A6316A1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46516C
Deuteranopia (green-blind)
#666767
Tritanopia (blue-blind)
#B32749
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a6316a;
/* rgb */ color: rgb(166, 49, 106);
/* oklch */ color: oklch(50.5% 0.161 354.6);
Tailwind
colors: {
  custom: {
    50: '#c57294',
    500: '#a6316a',
    950: '#000000',
  },
}
SCSS
$custom: #a6316a;
$custom-light: #c57294;
$custom-dark: #000000;
JSON
{
  "hex": "#a6316a",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 106
  },
  "hsl": {
    "h": 330.769,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50535,
    "c": 0.16138,
    "h": 354.6
  },
  "luminance": 0.11344
}

Semantic roles & 50–950 ramp

primary
#A6316A
secondary
#73C09A
accent
#DE964A
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A6316A

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

Preview Lab → · Contrast checker → · Palette generator →

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