#A7315B#A7315B

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

Color values

HEX#A7315B
RGBrgb(167, 49, 91)
HSLhsl(339, 55%, 42%)
HSVhsv(339, 71%, 65%)
CMYKcmyk(0%, 70.7%, 45.5%, 34.5%)
CIE-LABlab(39.87, 51.17, 3.02)
CIE-LCHlch(39.87, 51.26, 3.37°)
OKLaboklab(50.2% 0.1566 0.0083)
OKLCHoklch(50.2% 0.157 3)
XYZxyz(18.9244, 11.1699, 11.0549)
Luminance0.1117 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7315B #31A77D
analogous
#A73196 #A7315B #A74231
triadic
#A7315B #5BA731 #315BA7
tetradic
#A7315B #96A731 #31A77D #4231A7
square
#A7315B #96A731 #31A77D #4231A7
split-complementary
#A7315B #31A742 #3196A7
monochromatic
#481527 #782341 #A7315B #CA4B78 #D87A9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7315B#FFFFFF#000000##FFFFFF
##A7315B1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4F5C
Deuteranopia (green-blind)
#6A6658
Tritanopia (blue-blind)
#B51F42
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a7315b;
/* rgb */ color: rgb(167, 49, 91);
/* oklch */ color: oklch(50.2% 0.157 3.0);
Tailwind
colors: {
  custom: {
    50: '#c67289',
    500: '#a7315b',
    950: '#000000',
  },
}
SCSS
$custom: #a7315b;
$custom-light: #c67289;
$custom-dark: #000000;
JSON
{
  "hex": "#a7315b",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 91
  },
  "hsl": {
    "h": 338.644,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50198,
    "c": 0.15677,
    "h": 3
  },
  "luminance": 0.11167
}

Semantic roles & 50–950 ramp

primary
#A7315B
secondary
#73C1A5
accent
#DEA94A
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A7315B

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

Preview Lab → · Contrast checker → · Palette generator →

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