#A5234A#A5234A

#A5234A is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.1% C 0.166 H 8.9°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#A5234A
RGBrgb(165, 35, 74)
HSLhsl(342, 65%, 39%)
HSVhsv(342, 79%, 65%)
CMYKcmyk(0%, 78.8%, 55.2%, 35.3%)
CIE-LABlab(37.30, 53.94, 10.14)
CIE-LCHlch(37.30, 54.89, 10.65°)
OKLaboklab(48.08% 0.164 0.0258)
OKLCHoklch(48.08% 0.166 8.9)
XYZxyz(17.3558, 9.6983, 7.4353)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5234A #23A57E
analogous
#A5238B #A5234A #A53D23
triadic
#A5234A #4AA523 #234AA5
tetradic
#A5234A #8BA523 #23A57E #3D23A5
square
#A5234A #8BA523 #23A57E #3D23A5
split-complementary
#A5234A #23A53D #238BA5
monochromatic
#400E1D #731833 #A5234A #D33262 #DE6489

Accessibility & contrast

On white

7.14
#A5234A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#A5234A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5234A
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5234A#FFFFFF#000000##FFFFFF
##A5234A1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46474B
Deuteranopia (green-blind)
#686147
Tritanopia (blue-blind)
#B40034
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a5234a;
/* rgb */ color: rgb(165, 35, 74);
/* oklch */ color: oklch(48.1% 0.166 8.9);
Tailwind
colors: {
  custom: {
    50: '#c66b7c',
    500: '#a5234a',
    950: '#000000',
  },
}
SCSS
$custom: #a5234a;
$custom-light: #c66b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5234a",
  "rgb": {
    "r": 165,
    "g": 35,
    "b": 74
  },
  "hsl": {
    "h": 342,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48083,
    "c": 0.16601,
    "h": 8.9
  },
  "luminance": 0.09696
}

Semantic roles & 50–950 ramp

primary
#A5234A
secondary
#60C4A6
accent
#E8B640
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140709
muted
#837A7B

Preview Lab

Preview with #A5234A

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

Preview Lab → · Contrast checker → · Palette generator →

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