#A5275B#A5275B

#A5275B is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.166 H 0.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#A5275B
RGBrgb(165, 39, 91)
HSLhsl(335, 62%, 40%)
HSVhsv(335, 76%, 65%)
CMYKcmyk(0%, 76.4%, 44.8%, 35.3%)
CIE-LABlab(38.21, 54.16, 0.58)
CIE-LCHlch(38.21, 54.16, 0.61°)
OKLaboklab(48.91% 0.1662 0.0021)
OKLCHoklch(48.91% 0.166 0.7)
XYZxyz(18.1323, 10.2081, 10.9110)
Luminance0.1021 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5275B #27A571
analogous
#A5279A #A5275B #A53227
triadic
#A5275B #5BA527 #275BA5
tetradic
#A5275B #9AA527 #27A571 #3227A5
square
#A5275B #9AA527 #27A571 #3227A5
split-complementary
#A5275B #27A532 #279AA5
monochromatic
#421024 #741B40 #A5275B #D03977 #DC6A99

Accessibility & contrast

On white

6.91
#A5275B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#A5275B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5275B
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5275B#FFFFFF#000000##FFFFFF
##A5275B1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444A5C
Deuteranopia (green-blind)
#666358
Tritanopia (blue-blind)
#B30F3E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5275b;
/* rgb */ color: rgb(165, 39, 91);
/* oklch */ color: oklch(48.9% 0.166 0.7);
Tailwind
colors: {
  custom: {
    50: '#c56d89',
    500: '#a5275b',
    950: '#000000',
  },
}
SCSS
$custom: #a5275b;
$custom-light: #c56d89;
$custom-dark: #000000;
JSON
{
  "hex": "#a5275b",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 91
  },
  "hsl": {
    "h": 335.238,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.48912,
    "c": 0.16623,
    "h": 0.7
  },
  "luminance": 0.10206
}

Semantic roles & 50–950 ramp

primary
#A5275B
secondary
#66C29C
accent
#E5A243
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A5275B

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

Preview Lab → · Contrast checker → · Palette generator →

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