#A5234C#A5234C

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

Color values

HEX#A5234C
RGBrgb(165, 35, 76)
HSLhsl(341, 65%, 39%)
HSVhsv(341, 79%, 65%)
CMYKcmyk(0%, 78.8%, 53.9%, 35.3%)
CIE-LABlab(37.35, 54.10, 8.93)
CIE-LCHlch(37.35, 54.83, 9.37°)
OKLaboklab(48.14% 0.1648 0.0229)
OKLCHoklch(48.14% 0.166 7.9)
XYZxyz(17.4242, 9.7257, 7.7958)
Luminance0.0972 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5234C #23A57C
analogous
#A5238D #A5234C #A53B23
triadic
#A5234C #4CA523 #234CA5
tetradic
#A5234C #8DA523 #23A57C #3B23A5
square
#A5234C #8DA523 #23A57C #3B23A5
split-complementary
#A5234C #23A53B #238DA5
monochromatic
#400E1D #731835 #A5234C #D33265 #DE648B

Accessibility & contrast

On white

7.13
#A5234C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A5234C
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5234C#FFFFFF#000000##FFFFFF
##A5234C1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45474D
Deuteranopia (green-blind)
#676149
Tritanopia (blue-blind)
#B40035
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a5234c;
/* rgb */ color: rgb(165, 35, 76);
/* oklch */ color: oklch(48.1% 0.166 7.9);
Tailwind
colors: {
  custom: {
    50: '#c66b7d',
    500: '#a5234c',
    950: '#000000',
  },
}
SCSS
$custom: #a5234c;
$custom-light: #c66b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5234c",
  "rgb": {
    "r": 165,
    "g": 35,
    "b": 76
  },
  "hsl": {
    "h": 341.077,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48136,
    "c": 0.16636,
    "h": 7.9
  },
  "luminance": 0.09723
}

Semantic roles & 50–950 ramp

primary
#A5234C
secondary
#60C4A4
accent
#E8B340
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #A5234C

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

Preview Lab → · Contrast checker → · Palette generator →

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