#A5275C#A5275C

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

Color values

HEX#A5275C
RGBrgb(165, 39, 92)
HSLhsl(335, 62%, 40%)
HSVhsv(335, 76%, 65%)
CMYKcmyk(0%, 76.4%, 44.2%, 35.3%)
CIE-LABlab(38.24, 54.25, -0.02)
CIE-LCHlch(38.24, 54.25, 359.98°)
OKLaboklab(48.94% 0.1666 0.0006)
OKLCHoklch(48.94% 0.167 0.2)
XYZxyz(18.1757, 10.2255, 11.1397)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5275C #27A570
analogous
#A5279B #A5275C #A53127
triadic
#A5275C #5CA527 #275CA5
tetradic
#A5275C #9BA527 #27A570 #3127A5
square
#A5275C #9BA527 #27A570 #3127A5
split-complementary
#A5275C #27A531 #279BA5
monochromatic
#421025 #741B40 #A5275C #D03979 #DC6A9A

Accessibility & contrast

On white

6.90
#A5275C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5275C
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5275C#FFFFFF#000000##FFFFFF
##A5275C1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434B5D
Deuteranopia (green-blind)
#656359
Tritanopia (blue-blind)
#B3103E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5275c;
/* rgb */ color: rgb(165, 39, 92);
/* oklch */ color: oklch(48.9% 0.167 0.2);
Tailwind
colors: {
  custom: {
    50: '#c56d8a',
    500: '#a5275c',
    950: '#000000',
  },
}
SCSS
$custom: #a5275c;
$custom-light: #c56d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5275c",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 92
  },
  "hsl": {
    "h": 334.762,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.48944,
    "c": 0.16656,
    "h": 0.2
  },
  "luminance": 0.10223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5275C

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

Preview Lab → · Contrast checker → · Palette generator →

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