#A5234B#A5234B

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

Color values

HEX#A5234B
RGBrgb(165, 35, 75)
HSLhsl(342, 65%, 39%)
HSVhsv(342, 79%, 65%)
CMYKcmyk(0%, 78.8%, 54.5%, 35.3%)
CIE-LABlab(37.32, 54.02, 9.53)
CIE-LCHlch(37.32, 54.86, 10.01°)
OKLaboklab(48.11% 0.1644 0.0243)
OKLCHoklch(48.11% 0.166 8.4)
XYZxyz(17.3897, 9.7119, 7.6141)
Luminance0.0971 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5234B #23A57D
analogous
#A5238C #A5234B #A53C23
triadic
#A5234B #4BA523 #234BA5
tetradic
#A5234B #8CA523 #23A57D #3C23A5
square
#A5234B #8CA523 #23A57D #3C23A5
split-complementary
#A5234B #23A53C #238CA5
monochromatic
#400E1D #731834 #A5234B #D33264 #DE648A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5234B#FFFFFF#000000##FFFFFF
##A5234B1.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)
#46474C
Deuteranopia (green-blind)
#676148
Tritanopia (blue-blind)
#B40034
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a5234b;
/* rgb */ color: rgb(165, 35, 75);
/* oklch */ color: oklch(48.1% 0.166 8.4);
Tailwind
colors: {
  custom: {
    50: '#c66b7d',
    500: '#a5234b',
    950: '#000000',
  },
}
SCSS
$custom: #a5234b;
$custom-light: #c66b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5234b",
  "rgb": {
    "r": 165,
    "g": 35,
    "b": 75
  },
  "hsl": {
    "h": 341.538,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48109,
    "c": 0.16618,
    "h": 8.4
  },
  "luminance": 0.09709
}

Semantic roles & 50–950 ramp

primary
#A5234B
secondary
#60C4A5
accent
#E8B440
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140709
muted
#837A7B

Preview Lab

Preview with #A5234B

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

Preview Lab → · Contrast checker → · Palette generator →

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