#A5236D#A5236D

#A5236D is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.178 H 351.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A5236D
RGBrgb(165, 35, 109)
HSLhsl(326, 65%, 39%)
HSVhsv(326, 79%, 65%)
CMYKcmyk(0%, 78.8%, 33.9%, 35.3%)
CIE-LABlab(38.39, 57.30, -10.57)
CIE-LCHlch(38.39, 58.26, 349.55°)
OKLaboklab(49.24% 0.1756 -0.0274)
OKLCHoklch(49.24% 0.178 351.1)
XYZxyz(18.8795, 10.3078, 15.4604)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5236D #23A55B
analogous
#9C23A5 #A5236D #A5232C
triadic
#A5236D #6DA523 #236DA5
tetradic
#A5236D #A59C23 #23A55B #232CA5
square
#A5236D #A59C23 #23A55B #232CA5
split-complementary
#A5236D #2CA523 #23A59C
monochromatic
#400E2A #73184C #A5236D #D3328E #DE64AA

Accessibility & contrast

On white

6.86
#A5236D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A5236D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5236D
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5236D#FFFFFF#000000##FFFFFF
##A5236D1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4C6F
Deuteranopia (green-blind)
#60636A
Tritanopia (blue-blind)
#B21745
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5236d;
/* rgb */ color: rgb(165, 35, 109);
/* oklch */ color: oklch(49.2% 0.178 351.1);
Tailwind
colors: {
  custom: {
    50: '#c46c96',
    500: '#a5236d',
    950: '#000000',
  },
}
SCSS
$custom: #a5236d;
$custom-light: #c46c96;
$custom-dark: #000000;
JSON
{
  "hex": "#a5236d",
  "rgb": {
    "r": 165,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 325.846,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49242,
    "c": 0.17777,
    "h": 351.1
  },
  "luminance": 0.10306
}

Semantic roles & 50–950 ramp

primary
#A5236D
secondary
#60C48B
accent
#E88840
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #A5236D

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

Preview Lab → · Contrast checker → · Palette generator →

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