#A5274C#A5274C

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

Color values

HEX#A5274C
RGBrgb(165, 39, 76)
HSLhsl(342, 62%, 40%)
HSVhsv(342, 76%, 65%)
CMYKcmyk(0%, 76.4%, 53.9%, 35.3%)
CIE-LABlab(37.80, 52.83, 9.56)
CIE-LCHlch(37.80, 53.69, 10.26°)
OKLaboklab(48.47% 0.1607 0.0244)
OKLCHoklch(48.47% 0.163 8.6)
XYZxyz(17.5487, 9.9746, 7.8373)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5274C #27A580
analogous
#A5278B #A5274C #A54127
triadic
#A5274C #4CA527 #274CA5
tetradic
#A5274C #8BA527 #27A580 #4127A5
square
#A5274C #8BA527 #27A580 #4127A5
split-complementary
#A5274C #27A541 #278BA5
monochromatic
#42101E #741B35 #A5274C #D03965 #DC6A8C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5274C#FFFFFF#000000##FFFFFF
##A5274C1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47494D
Deuteranopia (green-blind)
#686249
Tritanopia (blue-blind)
#B40037
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a5274c;
/* rgb */ color: rgb(165, 39, 76);
/* oklch */ color: oklch(48.5% 0.163 8.6);
Tailwind
colors: {
  custom: {
    50: '#c66d7d',
    500: '#a5274c',
    950: '#000000',
  },
}
SCSS
$custom: #a5274c;
$custom-light: #c66d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5274c",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 76
  },
  "hsl": {
    "h": 342.381,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.48469,
    "c": 0.16253,
    "h": 8.6
  },
  "luminance": 0.09972
}

Semantic roles & 50–950 ramp

primary
#A5274C
secondary
#66C2A7
accent
#E5B543
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140809
muted
#827B7B

Preview Lab

Preview with #A5274C

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

Preview Lab → · Contrast checker → · Palette generator →

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