#A5274D#A5274D

#A5274D is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.5% C 0.163 H 8.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#A5274D
RGBrgb(165, 39, 77)
HSLhsl(342, 62%, 40%)
HSVhsv(342, 76%, 65%)
CMYKcmyk(0%, 76.4%, 53.3%, 35.3%)
CIE-LABlab(37.82, 52.91, 8.95)
CIE-LCHlch(37.82, 53.66, 9.61°)
OKLaboklab(48.5% 0.1611 0.023)
OKLCHoklch(48.5% 0.163 8.1)
XYZxyz(17.5837, 9.9887, 8.0218)
Luminance0.0999 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5274D #27A57F
analogous
#A5278C #A5274D #A54027
triadic
#A5274D #4DA527 #274DA5
tetradic
#A5274D #8CA527 #27A57F #4027A5
square
#A5274D #8CA527 #27A57F #4027A5
split-complementary
#A5274D #27A540 #278CA5
monochromatic
#42101F #741B36 #A5274D #D03967 #DC6A8D

Accessibility & contrast

On white

7.01
#A5274D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#A5274D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5274D
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5274D#FFFFFF#000000##FFFFFF
##A5274D1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47494E
Deuteranopia (green-blind)
#68624A
Tritanopia (blue-blind)
#B40137
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a5274d;
/* rgb */ color: rgb(165, 39, 77);
/* oklch */ color: oklch(48.5% 0.163 8.1);
Tailwind
colors: {
  custom: {
    50: '#c66d7e',
    500: '#a5274d',
    950: '#000000',
  },
}
SCSS
$custom: #a5274d;
$custom-light: #c66d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5274d",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 77
  },
  "hsl": {
    "h": 341.905,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.48496,
    "c": 0.1627,
    "h": 8.1
  },
  "luminance": 0.09986
}

Semantic roles & 50–950 ramp

primary
#A5274D
secondary
#66C2A6
accent
#E5B443
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140809
muted
#827B7B

Preview Lab

Preview with #A5274D

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

Preview Lab → · Contrast checker → · Palette generator →

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