#A5234E#A5234E

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

Color values

HEX#A5234E
RGBrgb(165, 35, 78)
HSLhsl(340, 65%, 39%)
HSVhsv(340, 79%, 65%)
CMYKcmyk(0%, 78.8%, 52.7%, 35.3%)
CIE-LABlab(37.40, 54.26, 7.72)
CIE-LCHlch(37.40, 54.81, 8.09°)
OKLaboklab(48.19% 0.1656 0.02)
OKLCHoklch(48.19% 0.167 6.9)
XYZxyz(17.4948, 9.7539, 8.1677)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5234E #23A57A
analogous
#A5238F #A5234E #A53923
triadic
#A5234E #4EA523 #234EA5
tetradic
#A5234E #8FA523 #23A57A #3923A5
square
#A5234E #8FA523 #23A57A #3923A5
split-complementary
#A5234E #23A539 #238FA5
monochromatic
#400E1E #731836 #A5234E #D33267 #DE648D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5234E#FFFFFF#000000##FFFFFF
##A5234E1.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)
#45474F
Deuteranopia (green-blind)
#67614B
Tritanopia (blue-blind)
#B40036
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a5234e;
/* rgb */ color: rgb(165, 35, 78);
/* oklch */ color: oklch(48.2% 0.167 6.9);
Tailwind
colors: {
  custom: {
    50: '#c66b7f',
    500: '#a5234e',
    950: '#000000',
  },
}
SCSS
$custom: #a5234e;
$custom-light: #c66b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5234e",
  "rgb": {
    "r": 165,
    "g": 35,
    "b": 78
  },
  "hsl": {
    "h": 340.154,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48191,
    "c": 0.16675,
    "h": 6.9
  },
  "luminance": 0.09751
}

Semantic roles & 50–950 ramp

primary
#A5234E
secondary
#60C4A3
accent
#E8B040
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A5234E

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

Preview Lab → · Contrast checker → · Palette generator →

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