#A6315A#A6315A

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

Color values

HEX#A6315A
RGBrgb(166, 49, 90)
HSLhsl(339, 54%, 42%)
HSVhsv(339, 70%, 65%)
CMYKcmyk(0%, 70.5%, 45.8%, 34.9%)
CIE-LABlab(39.65, 50.77, 3.32)
CIE-LCHlch(39.65, 50.87, 3.74°)
OKLaboklab(50% 0.1553 0.0091)
OKLCHoklch(50% 0.156 3.4)
XYZxyz(18.6711, 11.0442, 10.8194)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6315A #31A67D
analogous
#A63195 #A6315A #A64231
triadic
#A6315A #5AA631 #315AA6
tetradic
#A6315A #95A631 #31A67D #4231A6
square
#A6315A #95A631 #31A67D #4231A6
split-complementary
#A6315A #31A642 #3195A6
monochromatic
#471527 #772340 #A6315A #CA4A77 #D87A9B

Accessibility & contrast

On white

6.55
#A6315A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6315A
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6315A#FFFFFF#000000##FFFFFF
##A6315A1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4F5B
Deuteranopia (green-blind)
#6A6657
Tritanopia (blue-blind)
#B41F42
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a6315a;
/* rgb */ color: rgb(166, 49, 90);
/* oklch */ color: oklch(50.0% 0.156 3.4);
Tailwind
colors: {
  custom: {
    50: '#c57288',
    500: '#a6315a',
    950: '#000000',
  },
}
SCSS
$custom: #a6315a;
$custom-light: #c57288;
$custom-dark: #000000;
JSON
{
  "hex": "#a6315a",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 90
  },
  "hsl": {
    "h": 338.974,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49999,
    "c": 0.15555,
    "h": 3.4
  },
  "luminance": 0.11042
}

Semantic roles & 50–950 ramp

primary
#A6315A
secondary
#73C0A5
accent
#DEAA4A
background
#FCF7F8
surface
#F9EDEF
border
#D2C8CA
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A6315A

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

Preview Lab → · Contrast checker → · Palette generator →

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