#A6315C#A6315C

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

Color values

HEX#A6315C
RGBrgb(166, 49, 92)
HSLhsl(338, 54%, 42%)
HSVhsv(338, 70%, 65%)
CMYKcmyk(0%, 70.5%, 44.6%, 34.9%)
CIE-LABlab(39.71, 50.96, 2.14)
CIE-LCHlch(39.71, 51.01, 2.41°)
OKLaboklab(50.06% 0.156 0.0061)
OKLCHoklch(50.06% 0.156 2.2)
XYZxyz(18.7574, 11.0787, 11.2738)
Luminance0.1108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6315C #31A67B
analogous
#A63197 #A6315C #A64131
triadic
#A6315C #5CA631 #315CA6
tetradic
#A6315C #97A631 #31A67B #4131A6
square
#A6315C #97A631 #31A67B #4131A6
split-complementary
#A6315C #31A641 #3197A6
monochromatic
#471528 #772342 #A6315C #CA4A79 #D87A9C

Accessibility & contrast

On white

6.53
#A6315C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6315C
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6315C#FFFFFF#000000##FFFFFF
##A6315C1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4F5D
Deuteranopia (green-blind)
#696659
Tritanopia (blue-blind)
#B42043
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a6315c;
/* rgb */ color: rgb(166, 49, 92);
/* oklch */ color: oklch(50.1% 0.156 2.2);
Tailwind
colors: {
  custom: {
    50: '#c5728a',
    500: '#a6315c',
    950: '#000000',
  },
}
SCSS
$custom: #a6315c;
$custom-light: #c5728a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6315c",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 92
  },
  "hsl": {
    "h": 337.949,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50061,
    "c": 0.15612,
    "h": 2.2
  },
  "luminance": 0.11076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6315C

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

Preview Lab → · Contrast checker → · Palette generator →

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