#A6315E#A6315E

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

Color values

HEX#A6315E
RGBrgb(166, 49, 94)
HSLhsl(337, 54%, 42%)
HSVhsv(337, 70%, 65%)
CMYKcmyk(0%, 70.5%, 43.4%, 34.9%)
CIE-LABlab(39.77, 51.17, 0.97)
CIE-LCHlch(39.77, 51.17, 1.08°)
OKLaboklab(50.12% 0.1567 0.0031)
OKLCHoklch(50.12% 0.157 1.1)
XYZxyz(18.8460, 11.1141, 11.7403)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6315E #31A679
analogous
#A63199 #A6315E #A63E31
triadic
#A6315E #5EA631 #315EA6
tetradic
#A6315E #99A631 #31A679 #3E31A6
square
#A6315E #99A631 #31A679 #3E31A6
split-complementary
#A6315E #31A63E #3199A6
monochromatic
#471528 #772343 #A6315E #CA4A7B #D87A9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6315E#FFFFFF#000000##FFFFFF
##A6315E1.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)
#494F5F
Deuteranopia (green-blind)
#69665B
Tritanopia (blue-blind)
#B42144
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a6315e;
/* rgb */ color: rgb(166, 49, 94);
/* oklch */ color: oklch(50.1% 0.157 1.1);
Tailwind
colors: {
  custom: {
    50: '#c5728b',
    500: '#a6315e',
    950: '#000000',
  },
}
SCSS
$custom: #a6315e;
$custom-light: #c5728b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6315e",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 336.923,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50124,
    "c": 0.15674,
    "h": 1.1
  },
  "luminance": 0.11112
}

Semantic roles & 50–950 ramp

primary
#A6315E
secondary
#73C0A2
accent
#DEA54A
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080C
muted
#827B7D

Preview Lab

Preview with #A6315E

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

Preview Lab → · Contrast checker → · Palette generator →

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