#A5275D#A5275D

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

Color values

HEX#A5275D
RGBrgb(165, 39, 93)
HSLhsl(334, 62%, 40%)
HSVhsv(334, 76%, 65%)
CMYKcmyk(0%, 76.4%, 43.6%, 35.3%)
CIE-LABlab(38.28, 54.35, -0.61)
CIE-LCHlch(38.28, 54.35, 359.36°)
OKLaboklab(48.98% 0.1669 -0.001)
OKLCHoklch(48.98% 0.167 359.7)
XYZxyz(18.2197, 10.2431, 11.3715)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5275D #27A56F
analogous
#A5279C #A5275D #A53027
triadic
#A5275D #5DA527 #275DA5
tetradic
#A5275D #9CA527 #27A56F #3027A5
square
#A5275D #9CA527 #27A56F #3027A5
split-complementary
#A5275D #27A530 #279CA5
monochromatic
#421025 #741B41 #A5275D #D0397A #DC6A9B

Accessibility & contrast

On white

6.89
#A5275D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5275D
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5275D#FFFFFF#000000##FFFFFF
##A5275D1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434B5E
Deuteranopia (green-blind)
#65635A
Tritanopia (blue-blind)
#B3113F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5275d;
/* rgb */ color: rgb(165, 39, 93);
/* oklch */ color: oklch(49.0% 0.167 359.7);
Tailwind
colors: {
  custom: {
    50: '#c56d8a',
    500: '#a5275d',
    950: '#000000',
  },
}
SCSS
$custom: #a5275d;
$custom-light: #c56d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5275d",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 93
  },
  "hsl": {
    "h": 334.286,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.48977,
    "c": 0.1669,
    "h": 359.7
  },
  "luminance": 0.10241
}

Semantic roles & 50–950 ramp

primary
#A5275D
secondary
#66C29B
accent
#E59F43
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A5275D

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

Preview Lab → · Contrast checker → · Palette generator →

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