#A5304E#A5304E

#A5304E is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.4% C 0.153 H 9.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A5304E
RGBrgb(165, 48, 78)
HSLhsl(345, 55%, 42%)
HSVhsv(345, 71%, 65%)
CMYKcmyk(0%, 70.9%, 52.7%, 35.3%)
CIE-LABlab(39.01, 49.75, 9.98)
CIE-LCHlch(39.01, 50.74, 11.34°)
OKLaboklab(49.38% 0.1511 0.0255)
OKLCHoklch(49.38% 0.153 9.6)
XYZxyz(17.9507, 10.6657, 8.3197)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5304E #30A587
analogous
#A53089 #A5304E #A54C30
triadic
#A5304E #4EA530 #304EA5
tetradic
#A5304E #89A530 #30A587 #4C30A5
square
#A5304E #89A530 #30A587 #4C30A5
split-complementary
#A5304E #30A54C #3089A5
monochromatic
#461421 #762238 #A5304E #CA486A #D87890

Accessibility & contrast

On white

6.70
#A5304E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A5304E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5304E
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5304E#FFFFFF#000000##FFFFFF
##A5304E1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4D4F
Deuteranopia (green-blind)
#6B654B
Tritanopia (blue-blind)
#B4183C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a5304e;
/* rgb */ color: rgb(165, 48, 78);
/* oklch */ color: oklch(49.4% 0.153 9.6);
Tailwind
colors: {
  custom: {
    50: '#c5717f',
    500: '#a5304e',
    950: '#000000',
  },
}
SCSS
$custom: #a5304e;
$custom-light: #c5717f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5304e",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 78
  },
  "hsl": {
    "h": 344.615,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49384,
    "c": 0.15319,
    "h": 9.6
  },
  "luminance": 0.10663
}

Semantic roles & 50–950 ramp

primary
#A5304E
secondary
#71C0AC
accent
#DEB84A
background
#FCF7F7
surface
#F9EDEE
border
#D2C8C9
text
#14080A
muted
#827B7C

Preview Lab

Preview with #A5304E

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

Preview Lab → · Contrast checker → · Palette generator →

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