#A5237B#A5237B

#A5237B is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.8% C 0.185 H 344.6°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A5237B
RGBrgb(165, 35, 123)
HSLhsl(319, 65%, 39%)
HSVhsv(319, 79%, 65%)
CMYKcmyk(0%, 78.8%, 25.5%, 35.3%)
CIE-LABlab(38.96, 58.99, -18.46)
CIE-LCHlch(38.96, 61.81, 342.62°)
OKLaboklab(49.84% 0.1787 -0.0492)
OKLCHoklch(49.84% 0.185 344.6)
XYZxyz(19.6941, 10.6336, 19.7504)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5237B #23A54D
analogous
#8E23A5 #A5237B #A5233A
triadic
#A5237B #7BA523 #237BA5
tetradic
#A5237B #A58E23 #23A54D #233AA5
square
#A5237B #A58E23 #23A54D #233AA5
split-complementary
#A5237B #3AA523 #23A58E
monochromatic
#400E30 #731855 #A5237B #D3329F #DE64B7

Accessibility & contrast

On white

6.72
#A5237B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A5237B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5237B
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5237B#FFFFFF#000000##FFFFFF
##A5237B1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344E7D
Deuteranopia (green-blind)
#5C6378
Tritanopia (blue-blind)
#B0214D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a5237b;
/* rgb */ color: rgb(165, 35, 123);
/* oklch */ color: oklch(49.8% 0.185 344.6);
Tailwind
colors: {
  custom: {
    50: '#c46da1',
    500: '#a5237b',
    950: '#000000',
  },
}
SCSS
$custom: #a5237b;
$custom-light: #c46da1;
$custom-dark: #000000;
JSON
{
  "hex": "#a5237b",
  "rgb": {
    "r": 165,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 319.385,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49839,
    "c": 0.18538,
    "h": 344.6
  },
  "luminance": 0.10631
}

Semantic roles & 50–950 ramp

primary
#A5237B
secondary
#60C480
accent
#E87640
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A5237B

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

Preview Lab → · Contrast checker → · Palette generator →

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