#A5274B#A5274B

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

Color values

HEX#A5274B
RGBrgb(165, 39, 75)
HSLhsl(343, 62%, 40%)
HSVhsv(343, 76%, 65%)
CMYKcmyk(0%, 76.4%, 54.5%, 35.3%)
CIE-LABlab(37.77, 52.75, 10.16)
CIE-LCHlch(37.77, 53.72, 10.91°)
OKLaboklab(48.44% 0.1603 0.0259)
OKLCHoklch(48.44% 0.162 9.2)
XYZxyz(17.5142, 9.9608, 7.6556)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5274B #27A581
analogous
#A5278A #A5274B #A54227
triadic
#A5274B #4BA527 #274BA5
tetradic
#A5274B #8AA527 #27A581 #4227A5
square
#A5274B #8AA527 #27A581 #4227A5
split-complementary
#A5274B #27A542 #278AA5
monochromatic
#42101E #741B35 #A5274B #D03964 #DC6A8B

Accessibility & contrast

On white

7.02
#A5274B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A5274B
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5274B#FFFFFF#000000##FFFFFF
##A5274B1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5274b;
/* rgb */ color: rgb(165, 39, 75);
/* oklch */ color: oklch(48.4% 0.162 9.2);
Tailwind
colors: {
  custom: {
    50: '#c66d7d',
    500: '#a5274b',
    950: '#000000',
  },
}
SCSS
$custom: #a5274b;
$custom-light: #c66d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5274b",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 75
  },
  "hsl": {
    "h": 342.857,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.48442,
    "c": 0.16236,
    "h": 9.2
  },
  "luminance": 0.09958
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5274B

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

Preview Lab → · Contrast checker → · Palette generator →

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