#A7315C#A7315C

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

Color values

HEX#A7315C
RGBrgb(167, 49, 92)
HSLhsl(338, 55%, 42%)
HSVhsv(338, 71%, 65%)
CMYKcmyk(0%, 70.7%, 44.9%, 34.5%)
CIE-LABlab(39.89, 51.27, 2.43)
CIE-LCHlch(39.89, 51.32, 2.71°)
OKLaboklab(50.23% 0.1569 0.0068)
OKLCHoklch(50.23% 0.157 2.5)
XYZxyz(18.9679, 11.1872, 11.2836)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7315C #31A77C
analogous
#A73197 #A7315C #A74131
triadic
#A7315C #5CA731 #315CA7
tetradic
#A7315C #97A731 #31A77C #4131A7
square
#A7315C #97A731 #31A77C #4131A7
split-complementary
#A7315C #31A741 #3197A7
monochromatic
#481528 #782342 #A7315C #CA4B79 #D87A9C

Accessibility & contrast

On white

6.49
#A7315C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A7315C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7315C
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7315C#FFFFFF#000000##FFFFFF
##A7315C1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4F5D
Deuteranopia (green-blind)
#6A6659
Tritanopia (blue-blind)
#B52043
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a7315c;
/* rgb */ color: rgb(167, 49, 92);
/* oklch */ color: oklch(50.2% 0.157 2.5);
Tailwind
colors: {
  custom: {
    50: '#c6728a',
    500: '#a7315c',
    950: '#000000',
  },
}
SCSS
$custom: #a7315c;
$custom-light: #c6728a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7315c",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 92
  },
  "hsl": {
    "h": 338.136,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50229,
    "c": 0.15706,
    "h": 2.5
  },
  "luminance": 0.11185
}

Semantic roles & 50–950 ramp

primary
#A7315C
secondary
#73C1A4
accent
#DEA84A
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A7315C

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

Preview Lab → · Contrast checker → · Palette generator →

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