#A5304B#A5304B

#A5304B is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.3% C 0.153 H 11.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A5304B
RGBrgb(165, 48, 75)
HSLhsl(346, 55%, 42%)
HSVhsv(346, 71%, 65%)
CMYKcmyk(0%, 70.9%, 54.5%, 35.3%)
CIE-LABlab(38.94, 49.50, 11.78)
CIE-LCHlch(38.94, 50.88, 13.39°)
OKLaboklab(49.31% 0.1499 0.0298)
OKLCHoklch(49.31% 0.153 11.2)
XYZxyz(17.8456, 10.6237, 7.7661)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5304B #30A58A
analogous
#A53086 #A5304B #A55030
triadic
#A5304B #4BA530 #304BA5
tetradic
#A5304B #86A530 #30A58A #5030A5
square
#A5304B #86A530 #30A58A #5030A5
split-complementary
#A5304B #30A550 #3086A5
monochromatic
#461420 #762235 #A5304B #CA4866 #D8788E

Accessibility & contrast

On white

6.72
#A5304B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A5304B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5304B
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5304B#FFFFFF#000000##FFFFFF
##A5304B1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4D4B
Deuteranopia (green-blind)
#6B6448
Tritanopia (blue-blind)
#B4173B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a5304b;
/* rgb */ color: rgb(165, 48, 75);
/* oklch */ color: oklch(49.3% 0.153 11.2);
Tailwind
colors: {
  custom: {
    50: '#c5717d',
    500: '#a5304b',
    950: '#000000',
  },
}
SCSS
$custom: #a5304b;
$custom-light: #c5717d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5304b",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 75
  },
  "hsl": {
    "h": 346.154,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49307,
    "c": 0.15279,
    "h": 11.2
  },
  "luminance": 0.10621
}

Semantic roles & 50–950 ramp

primary
#A5304B
secondary
#71C0AE
accent
#DEBC4A
background
#FCF7F7
surface
#F9EDEE
border
#D2C8C9
text
#140809
muted
#827B7B

Preview Lab

Preview with #A5304B

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

Preview Lab → · Contrast checker → · Palette generator →

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