#A5274F#A5274F

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

Color values

HEX#A5274F
RGBrgb(165, 39, 79)
HSLhsl(341, 62%, 40%)
HSVhsv(341, 76%, 65%)
CMYKcmyk(0%, 76.4%, 52.1%, 35.3%)
CIE-LABlab(37.87, 53.07, 7.75)
CIE-LCHlch(37.87, 53.64, 8.30°)
OKLaboklab(48.55% 0.1618 0.02)
OKLCHoklch(48.55% 0.163 7.1)
XYZxyz(17.6554, 10.0173, 8.3995)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5274F #27A57D
analogous
#A5278E #A5274F #A53E27
triadic
#A5274F #4FA527 #274FA5
tetradic
#A5274F #8EA527 #27A57D #3E27A5
square
#A5274F #8EA527 #27A57D #3E27A5
split-complementary
#A5274F #27A53E #278EA5
monochromatic
#421020 #741B37 #A5274F #D03969 #DC6A8F

Accessibility & contrast

On white

6.99
#A5274F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5274F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5274F#FFFFFF#000000##FFFFFF
##A5274F1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474950
Deuteranopia (green-blind)
#68624C
Tritanopia (blue-blind)
#B40338
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a5274f;
/* rgb */ color: rgb(165, 39, 79);
/* oklch */ color: oklch(48.5% 0.163 7.1);
Tailwind
colors: {
  custom: {
    50: '#c66d80',
    500: '#a5274f',
    950: '#000000',
  },
}
SCSS
$custom: #a5274f;
$custom-light: #c66d80;
$custom-dark: #000000;
JSON
{
  "hex": "#a5274f",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 79
  },
  "hsl": {
    "h": 340.952,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.4855,
    "c": 0.16308,
    "h": 7.1
  },
  "luminance": 0.10015
}

Semantic roles & 50–950 ramp

primary
#A5274F
secondary
#66C2A5
accent
#E5B143
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14080A
muted
#827A7C

Preview Lab

Preview with #A5274F

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

Preview Lab → · Contrast checker → · Palette generator →

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