#A5274A#A5274A

#A5274A is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.162 H 9.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#A5274A
RGBrgb(165, 39, 74)
HSLhsl(343, 62%, 40%)
HSVhsv(343, 76%, 65%)
CMYKcmyk(0%, 76.4%, 55.2%, 35.3%)
CIE-LABlab(37.75, 52.67, 10.77)
CIE-LCHlch(37.75, 53.76, 11.56°)
OKLaboklab(48.42% 0.1599 0.0273)
OKLCHoklch(48.42% 0.162 9.7)
XYZxyz(17.4802, 9.9473, 7.4768)
Luminance0.0994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5274A #27A582
analogous
#A52789 #A5274A #A54327
triadic
#A5274A #4AA527 #274AA5
tetradic
#A5274A #89A527 #27A582 #4327A5
square
#A5274A #89A527 #27A582 #4327A5
split-complementary
#A5274A #27A543 #2789A5
monochromatic
#42101E #741B34 #A5274A #D03963 #DC6A8A

Accessibility & contrast

On white

7.03
#A5274A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#A5274A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5274A
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5274A#FFFFFF#000000##FFFFFF
##A5274A1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48494B
Deuteranopia (green-blind)
#696247
Tritanopia (blue-blind)
#B40036
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a5274a;
/* rgb */ color: rgb(165, 39, 74);
/* oklch */ color: oklch(48.4% 0.162 9.7);
Tailwind
colors: {
  custom: {
    50: '#c66d7c',
    500: '#a5274a',
    950: '#000000',
  },
}
SCSS
$custom: #a5274a;
$custom-light: #c66d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5274a",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 74
  },
  "hsl": {
    "h": 343.333,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.48416,
    "c": 0.16222,
    "h": 9.7
  },
  "luminance": 0.09945
}

Semantic roles & 50–950 ramp

primary
#A5274A
secondary
#66C2A8
accent
#E5B843
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140809
muted
#827B7B

Preview Lab

Preview with #A5274A

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

Preview Lab → · Contrast checker → · Palette generator →

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