#A5275F#A5275F

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

Color values

HEX#A5275F
RGBrgb(165, 39, 95)
HSLhsl(333, 62%, 40%)
HSVhsv(333, 76%, 65%)
CMYKcmyk(0%, 76.4%, 42.4%, 35.3%)
CIE-LABlab(38.34, 54.55, -1.79)
CIE-LCHlch(38.34, 54.58, 358.13°)
OKLaboklab(49.04% 0.1676 -0.004)
OKLCHoklch(49.04% 0.168 358.6)
XYZxyz(18.3095, 10.2790, 11.8441)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5275F #27A56D
analogous
#A5279E #A5275F #A52E27
triadic
#A5275F #5FA527 #275FA5
tetradic
#A5275F #9EA527 #27A56D #2E27A5
square
#A5275F #9EA527 #27A56D #2E27A5
split-complementary
#A5275F #27A52E #279EA5
monochromatic
#421026 #741B43 #A5275F #D0397C #DC6A9D

Accessibility & contrast

On white

6.87
#A5275F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A5275F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5275F
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5275F#FFFFFF#000000##FFFFFF
##A5275F1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424B60
Deuteranopia (green-blind)
#65635C
Tritanopia (blue-blind)
#B31240
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5275f;
/* rgb */ color: rgb(165, 39, 95);
/* oklch */ color: oklch(49.0% 0.168 358.6);
Tailwind
colors: {
  custom: {
    50: '#c56d8c',
    500: '#a5275f',
    950: '#000000',
  },
}
SCSS
$custom: #a5275f;
$custom-light: #c56d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5275f",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 95
  },
  "hsl": {
    "h": 333.333,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.49044,
    "c": 0.16762,
    "h": 358.6
  },
  "luminance": 0.10277
}

Semantic roles & 50–950 ramp

primary
#A5275F
secondary
#66C299
accent
#E59D43
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080C
muted
#827B7D

Preview Lab

Preview with #A5275F

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

Preview Lab → · Contrast checker → · Palette generator →

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