#A6315F#A6315F

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

Color values

HEX#A6315F
RGBrgb(166, 49, 95)
HSLhsl(336, 54%, 42%)
HSVhsv(336, 70%, 65%)
CMYKcmyk(0%, 70.5%, 42.8%, 34.9%)
CIE-LABlab(39.80, 51.27, 0.38)
CIE-LCHlch(39.80, 51.27, 0.42°)
OKLaboklab(50.16% 0.1571 0.0016)
OKLCHoklch(50.16% 0.157 0.6)
XYZxyz(18.8911, 11.1322, 11.9782)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6315F #31A678
analogous
#A6319A #A6315F #A63D31
triadic
#A6315F #5FA631 #315FA6
tetradic
#A6315F #9AA631 #31A678 #3D31A6
square
#A6315F #9AA631 #31A678 #3D31A6
split-complementary
#A6315F #31A63D #319AA6
monochromatic
#471529 #772344 #A6315F #CA4A7D #D87A9F

Accessibility & contrast

On white

6.51
#A6315F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A6315F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6315F
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6315F#FFFFFF#000000##FFFFFF
##A6315F1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494F60
Deuteranopia (green-blind)
#69665C
Tritanopia (blue-blind)
#B42144
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a6315f;
/* rgb */ color: rgb(166, 49, 95);
/* oklch */ color: oklch(50.2% 0.157 0.6);
Tailwind
colors: {
  custom: {
    50: '#c5728c',
    500: '#a6315f',
    950: '#000000',
  },
}
SCSS
$custom: #a6315f;
$custom-light: #c5728c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6315f",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 336.41,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50156,
    "c": 0.15707,
    "h": 0.6
  },
  "luminance": 0.1113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6315F

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

Preview Lab → · Contrast checker → · Palette generator →

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