#A6315D#A6315D

#A6315D is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.1% C 0.156 H 1.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A6315D
RGBrgb(166, 49, 93)
HSLhsl(337, 54%, 42%)
HSVhsv(337, 70%, 65%)
CMYKcmyk(0%, 70.5%, 44%, 34.9%)
CIE-LABlab(39.74, 51.06, 1.55)
CIE-LCHlch(39.74, 51.09, 1.74°)
OKLaboklab(50.09% 0.1564 0.0046)
OKLCHoklch(50.09% 0.156 1.7)
XYZxyz(18.8014, 11.0963, 11.5055)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6315D #31A67A
analogous
#A63198 #A6315D #A64031
triadic
#A6315D #5DA631 #315DA6
tetradic
#A6315D #98A631 #31A67A #4031A6
square
#A6315D #98A631 #31A67A #4031A6
split-complementary
#A6315D #31A640 #3198A6
monochromatic
#471528 #772343 #A6315D #CA4A7A #D87A9D

Accessibility & contrast

On white

6.52
#A6315D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A6315D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6315D
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6315D#FFFFFF#000000##FFFFFF
##A6315D1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4F5E
Deuteranopia (green-blind)
#69665A
Tritanopia (blue-blind)
#B42143
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a6315d;
/* rgb */ color: rgb(166, 49, 93);
/* oklch */ color: oklch(50.1% 0.156 1.7);
Tailwind
colors: {
  custom: {
    50: '#c5728a',
    500: '#a6315d',
    950: '#000000',
  },
}
SCSS
$custom: #a6315d;
$custom-light: #c5728a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6315d",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 337.436,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50092,
    "c": 0.15643,
    "h": 1.7
  },
  "luminance": 0.11094
}

Semantic roles & 50–950 ramp

primary
#A6315D
secondary
#73C0A3
accent
#DEA64A
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A6315D

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

Preview Lab → · Contrast checker → · Palette generator →

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