#A5236F#A5236F

#A5236F is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.3% C 0.179 H 350.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#A5236F
RGBrgb(165, 35, 111)
HSLhsl(325, 65%, 39%)
HSVhsv(325, 79%, 65%)
CMYKcmyk(0%, 78.8%, 32.7%, 35.3%)
CIE-LABlab(38.47, 57.53, -11.71)
CIE-LCHlch(38.47, 58.71, 348.50°)
OKLaboklab(49.32% 0.1762 -0.0305)
OKLCHoklch(49.32% 0.179 350.2)
XYZxyz(18.9884, 10.3514, 16.0339)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5236F #23A559
analogous
#9A23A5 #A5236F #A5232E
triadic
#A5236F #6FA523 #236FA5
tetradic
#A5236F #A59A23 #23A559 #232EA5
square
#A5236F #A59A23 #23A559 #232EA5
split-complementary
#A5236F #2EA523 #23A59A
monochromatic
#400E2B #73184D #A5236F #D33290 #DE64AC

Accessibility & contrast

On white

6.84
#A5236F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A5236F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5236F
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5236F#FFFFFF#000000##FFFFFF
##A5236F1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4C71
Deuteranopia (green-blind)
#60636C
Tritanopia (blue-blind)
#B21946
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5236f;
/* rgb */ color: rgb(165, 35, 111);
/* oklch */ color: oklch(49.3% 0.179 350.2);
Tailwind
colors: {
  custom: {
    50: '#c46c98',
    500: '#a5236f',
    950: '#000000',
  },
}
SCSS
$custom: #a5236f;
$custom-light: #c46c98;
$custom-dark: #000000;
JSON
{
  "hex": "#a5236f",
  "rgb": {
    "r": 165,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 324.923,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49322,
    "c": 0.17878,
    "h": 350.2
  },
  "luminance": 0.10349
}

Semantic roles & 50–950 ramp

primary
#A5236F
secondary
#60C48A
accent
#E88640
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #A5236F

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

Preview Lab → · Contrast checker → · Palette generator →

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