#A5274E#A5274E

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

Color values

HEX#A5274E
RGBrgb(165, 39, 78)
HSLhsl(341, 62%, 40%)
HSVhsv(341, 76%, 65%)
CMYKcmyk(0%, 76.4%, 52.7%, 35.3%)
CIE-LABlab(37.85, 52.99, 8.35)
CIE-LCHlch(37.85, 53.65, 8.95°)
OKLaboklab(48.52% 0.1615 0.0215)
OKLCHoklch(48.52% 0.163 7.6)
XYZxyz(17.6193, 10.0029, 8.2092)
Luminance0.1000 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5274E #27A57E
analogous
#A5278D #A5274E #A53F27
triadic
#A5274E #4EA527 #274EA5
tetradic
#A5274E #8DA527 #27A57E #3F27A5
square
#A5274E #8DA527 #27A57E #3F27A5
split-complementary
#A5274E #27A53F #278DA5
monochromatic
#42101F #741B37 #A5274E #D03968 #DC6A8E

Accessibility & contrast

On white

7.00
#A5274E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A5274E
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5274E#FFFFFF#000000##FFFFFF
##A5274E1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47494F
Deuteranopia (green-blind)
#68624B
Tritanopia (blue-blind)
#B40238
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a5274e;
/* rgb */ color: rgb(165, 39, 78);
/* oklch */ color: oklch(48.5% 0.163 7.6);
Tailwind
colors: {
  custom: {
    50: '#c66d7f',
    500: '#a5274e',
    950: '#000000',
  },
}
SCSS
$custom: #a5274e;
$custom-light: #c66d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5274e",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 78
  },
  "hsl": {
    "h": 341.429,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.48523,
    "c": 0.16289,
    "h": 7.6
  },
  "luminance": 0.1
}

Semantic roles & 50–950 ramp

primary
#A5274E
secondary
#66C2A6
accent
#E5B343
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14080A
muted
#827A7C

Preview Lab

Preview with #A5274E

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

Preview Lab → · Contrast checker → · Palette generator →

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