#A6315B#A6315B

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

Color values

HEX#A6315B
RGBrgb(166, 49, 91)
HSLhsl(338, 54%, 42%)
HSVhsv(338, 70%, 65%)
CMYKcmyk(0%, 70.5%, 45.2%, 34.9%)
CIE-LABlab(39.68, 50.86, 2.73)
CIE-LCHlch(39.68, 50.94, 3.07°)
OKLaboklab(50.03% 0.1556 0.0076)
OKLCHoklch(50.03% 0.156 2.8)
XYZxyz(18.7139, 11.0613, 11.0451)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6315B #31A67C
analogous
#A63195 #A6315B #A64231
triadic
#A6315B #5BA631 #315BA6
tetradic
#A6315B #95A631 #31A67C #4231A6
square
#A6315B #95A631 #31A67C #4231A6
split-complementary
#A6315B #31A642 #3195A6
monochromatic
#471527 #772341 #A6315B #CA4A78 #D87A9B

Accessibility & contrast

On white

6.54
#A6315B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A6315B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6315B
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6315B#FFFFFF#000000##FFFFFF
##A6315B1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4F5C
Deuteranopia (green-blind)
#696658
Tritanopia (blue-blind)
#B42042
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a6315b;
/* rgb */ color: rgb(166, 49, 91);
/* oklch */ color: oklch(50.0% 0.156 2.8);
Tailwind
colors: {
  custom: {
    50: '#c57289',
    500: '#a6315b',
    950: '#000000',
  },
}
SCSS
$custom: #a6315b;
$custom-light: #c57289;
$custom-dark: #000000;
JSON
{
  "hex": "#a6315b",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 91
  },
  "hsl": {
    "h": 338.462,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5003,
    "c": 0.15583,
    "h": 2.8
  },
  "luminance": 0.11059
}

Semantic roles & 50–950 ramp

primary
#A6315B
secondary
#73C0A4
accent
#DEA94A
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A6315B

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

Preview Lab → · Contrast checker → · Palette generator →

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