#A5234D#A5234D

#A5234D is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.167 H 7.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#A5234D
RGBrgb(165, 35, 77)
HSLhsl(341, 65%, 39%)
HSVhsv(341, 79%, 65%)
CMYKcmyk(0%, 78.8%, 53.3%, 35.3%)
CIE-LABlab(37.37, 54.18, 8.32)
CIE-LCHlch(37.37, 54.81, 8.73°)
OKLaboklab(48.16% 0.1652 0.0214)
OKLCHoklch(48.16% 0.167 7.4)
XYZxyz(17.4593, 9.7397, 7.9803)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5234D #23A57B
analogous
#A5238E #A5234D #A53A23
triadic
#A5234D #4DA523 #234DA5
tetradic
#A5234D #8EA523 #23A57B #3A23A5
square
#A5234D #8EA523 #23A57B #3A23A5
split-complementary
#A5234D #23A53A #238EA5
monochromatic
#400E1E #731835 #A5234D #D33266 #DE648C

Accessibility & contrast

On white

7.12
#A5234D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#A5234D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5234D
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5234D#FFFFFF#000000##FFFFFF
##A5234D1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45474E
Deuteranopia (green-blind)
#67614A
Tritanopia (blue-blind)
#B40035
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a5234d;
/* rgb */ color: rgb(165, 35, 77);
/* oklch */ color: oklch(48.2% 0.167 7.4);
Tailwind
colors: {
  custom: {
    50: '#c66b7e',
    500: '#a5234d',
    950: '#000000',
  },
}
SCSS
$custom: #a5234d;
$custom-light: #c66b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5234d",
  "rgb": {
    "r": 165,
    "g": 35,
    "b": 77
  },
  "hsl": {
    "h": 340.615,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48163,
    "c": 0.16654,
    "h": 7.4
  },
  "luminance": 0.09737
}

Semantic roles & 50–950 ramp

primary
#A5234D
secondary
#60C4A3
accent
#E8B240
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #A5234D

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

Preview Lab → · Contrast checker → · Palette generator →

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