#A6316F#A6316F

#A6316F is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.7% C 0.164 H 352.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A6316F
RGBrgb(166, 49, 111)
HSLhsl(328, 54%, 42%)
HSVhsv(328, 70%, 65%)
CMYKcmyk(0%, 70.5%, 33.1%, 34.9%)
CIE-LABlab(40.33, 53.05, -8.87)
CIE-LCHlch(40.33, 53.79, 350.51°)
OKLaboklab(50.72% 0.1621 -0.0229)
OKLCHoklch(50.72% 0.164 352)
XYZxyz(19.6945, 11.4535, 16.2094)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6316F #31A668
analogous
#A331A6 #A6316F #A63135
triadic
#A6316F #6FA631 #316FA6
tetradic
#A6316F #A6A331 #31A668 #3135A6
square
#A6316F #A6A331 #31A668 #3135A6
split-complementary
#A6316F #35A631 #31A6A3
monochromatic
#471530 #77234F #A6316F #CA4A8E #D87AAC

Accessibility & contrast

On white

6.38
#A6316F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A6316F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6316F
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6316F#FFFFFF#000000##FFFFFF
##A6316F1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445271
Deuteranopia (green-blind)
#65676C
Tritanopia (blue-blind)
#B3294C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a6316f;
/* rgb */ color: rgb(166, 49, 111);
/* oklch */ color: oklch(50.7% 0.164 352.0);
Tailwind
colors: {
  custom: {
    50: '#c57298',
    500: '#a6316f',
    950: '#000000',
  },
}
SCSS
$custom: #a6316f;
$custom-light: #c57298;
$custom-dark: #000000;
JSON
{
  "hex": "#a6316f",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 111
  },
  "hsl": {
    "h": 328.205,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50722,
    "c": 0.16374,
    "h": 352
  },
  "luminance": 0.11451
}

Semantic roles & 50–950 ramp

primary
#A6316F
secondary
#73C097
accent
#DE8F4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090D
muted
#827B7E

Preview Lab

Preview with #A6316F

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

Preview Lab → · Contrast checker → · Palette generator →

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