#A5315F#A5315F

#A5315F is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.0% C 0.156 H 0.3°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A5315F
RGBrgb(165, 49, 95)
HSLhsl(336, 54%, 42%)
HSVhsv(336, 70%, 65%)
CMYKcmyk(0%, 70.3%, 42.4%, 35.3%)
CIE-LABlab(39.62, 50.97, 0.09)
CIE-LCHlch(39.62, 50.97, 0.11°)
OKLaboklab(49.99% 0.1561 0.0008)
OKLCHoklch(49.99% 0.156 0.3)
XYZxyz(18.6823, 11.0245, 11.9684)
Luminance0.1102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5315F #31A577
analogous
#A53199 #A5315F #A53D31
triadic
#A5315F #5FA531 #315FA5
tetradic
#A5315F #99A531 #31A577 #3D31A5
square
#A5315F #99A531 #31A577 #3D31A5
split-complementary
#A5315F #31A53D #3199A5
monochromatic
#471529 #762344 #A5315F #C94A7C #D7799E

Accessibility & contrast

On white

6.55
#A5315F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A5315F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5315F
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5315F#FFFFFF#000000##FFFFFF
##A5315F1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494F60
Deuteranopia (green-blind)
#68655C
Tritanopia (blue-blind)
#B32244
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a5315f;
/* rgb */ color: rgb(165, 49, 95);
/* oklch */ color: oklch(50.0% 0.156 0.3);
Tailwind
colors: {
  custom: {
    50: '#c4728c',
    500: '#a5315f',
    950: '#000000',
  },
}
SCSS
$custom: #a5315f;
$custom-light: #c4728c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5315f",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 336.207,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49989,
    "c": 0.15614,
    "h": 0.3
  },
  "luminance": 0.11022
}

Semantic roles & 50–950 ramp

primary
#A5315F
secondary
#72C0A1
accent
#DEA34A
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A5315F

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

Preview Lab → · Contrast checker → · Palette generator →

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