#A6316C#A6316C

#A6316C is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.6% C 0.162 H 353.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A6316C
RGBrgb(166, 49, 108)
HSLhsl(330, 54%, 42%)
HSVhsv(330, 70%, 65%)
CMYKcmyk(0%, 70.5%, 34.9%, 34.9%)
CIE-LABlab(40.23, 52.70, -7.16)
CIE-LCHlch(40.23, 53.18, 352.27°)
OKLaboklab(50.61% 0.1613 -0.0183)
OKLCHoklch(50.61% 0.162 353.5)
XYZxyz(19.5321, 11.3886, 15.3541)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6316C #31A66B
analogous
#A631A6 #A6316C #A63131
triadic
#A6316C #6CA631 #316CA6
tetradic
#A6316C #A6A631 #31A66B #3131A6
square
#A6316C #A6A631 #31A66B #3131A6
split-complementary
#A6316C #31A631 #31A6A6
monochromatic
#47152F #77234D #A6316C #CA4A8B #D87AA9

Accessibility & contrast

On white

6.41
#A6316C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A6316C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6316C
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6316C#FFFFFF#000000##FFFFFF
##A6316C1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45516E
Deuteranopia (green-blind)
#666769
Tritanopia (blue-blind)
#B3284A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a6316c;
/* rgb */ color: rgb(166, 49, 108);
/* oklch */ color: oklch(50.6% 0.162 353.5);
Tailwind
colors: {
  custom: {
    50: '#c57296',
    500: '#a6316c',
    950: '#000000',
  },
}
SCSS
$custom: #a6316c;
$custom-light: #c57296;
$custom-dark: #000000;
JSON
{
  "hex": "#a6316c",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 108
  },
  "hsl": {
    "h": 329.744,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50609,
    "c": 0.16229,
    "h": 353.5
  },
  "luminance": 0.11386
}

Semantic roles & 50–950 ramp

primary
#A6316C
secondary
#73C099
accent
#DE934A
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#13090D
muted
#827B7E

Preview Lab

Preview with #A6316C

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

Preview Lab → · Contrast checker → · Palette generator →

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