#A5154A#A5154A

#A5154A is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.2% C 0.177 H 7.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#A5154A
RGBrgb(165, 21, 74)
HSLhsl(338, 77%, 36%)
HSVhsv(338, 87%, 65%)
CMYKcmyk(0%, 87.3%, 55.2%, 35.3%)
CIE-LABlab(36.05, 57.50, 8.40)
CIE-LCHlch(36.05, 58.11, 8.31°)
OKLaboklab(47.17% 0.1755 0.0215)
OKLCHoklch(47.17% 0.177 7)
XYZxyz(17.0229, 9.0326, 7.3244)
Luminance0.0903 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5154A #15A570
analogous
#A51592 #A5154A #A52815
triadic
#A5154A #4AA515 #154AA5
tetradic
#A5154A #92A515 #15A570 #2815A5
square
#A5154A #92A515 #15A570 #2815A5
split-complementary
#A5154A #15A528 #1592A5
monochromatic
#380719 #6F0E32 #A5154A #DB1C62 #E84C86

Accessibility & contrast

On white

7.48
#A5154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#A5154A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5154A
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5154A#FFFFFF#000000##FFFFFF
##A5154A1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40434B
Deuteranopia (green-blind)
#655F47
Tritanopia (blue-blind)
#B5002E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a5154a;
/* rgb */ color: rgb(165, 21, 74);
/* oklch */ color: oklch(47.2% 0.177 7.0);
Tailwind
colors: {
  custom: {
    50: '#c6677c',
    500: '#a5154a',
    950: '#000000',
  },
}
SCSS
$custom: #a5154a;
$custom-light: #c6677c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5154a",
  "rgb": {
    "r": 165,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 337.917,
    "s": 77.419,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47165,
    "c": 0.17684,
    "h": 7
  },
  "luminance": 0.0903
}

Semantic roles & 50–950 ramp

primary
#A5154A
secondary
#4CCA9C
accent
#F4AD34
background
#FDF6F7
surface
#FAEBEE
border
#D3C6C9
text
#140709
muted
#837A7B

Preview Lab

Preview with #A5154A

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

Preview Lab → · Contrast checker → · Palette generator →

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