#A5275E#A5275E

#A5275E is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.167 H 359.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A5275E
RGBrgb(165, 39, 94)
HSLhsl(334, 62%, 40%)
HSVhsv(334, 76%, 65%)
CMYKcmyk(0%, 76.4%, 43%, 35.3%)
CIE-LABlab(38.31, 54.45, -1.20)
CIE-LCHlch(38.31, 54.46, 358.74°)
OKLaboklab(49.01% 0.1672 -0.0025)
OKLCHoklch(49.01% 0.167 359.2)
XYZxyz(18.2643, 10.2609, 11.6063)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5275E #27A56E
analogous
#A5279D #A5275E #A52F27
triadic
#A5275E #5EA527 #275EA5
tetradic
#A5275E #9DA527 #27A56E #2F27A5
square
#A5275E #9DA527 #27A56E #2F27A5
split-complementary
#A5275E #27A52F #279DA5
monochromatic
#421026 #741B42 #A5275E #D0397B #DC6A9C

Accessibility & contrast

On white

6.88
#A5275E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A5275E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5275E
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5275E#FFFFFF#000000##FFFFFF
##A5275E1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434B5F
Deuteranopia (green-blind)
#65635B
Tritanopia (blue-blind)
#B3123F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5275e;
/* rgb */ color: rgb(165, 39, 94);
/* oklch */ color: oklch(49.0% 0.167 359.2);
Tailwind
colors: {
  custom: {
    50: '#c56d8b',
    500: '#a5275e',
    950: '#000000',
  },
}
SCSS
$custom: #a5275e;
$custom-light: #c56d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5275e",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 94
  },
  "hsl": {
    "h": 333.81,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.49011,
    "c": 0.16726,
    "h": 359.2
  },
  "luminance": 0.10259
}

Semantic roles & 50–950 ramp

primary
#A5275E
secondary
#66C29A
accent
#E59E43
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080C
muted
#827B7D

Preview Lab

Preview with #A5275E

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

Preview Lab → · Contrast checker → · Palette generator →

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