#A5237C#A5237C

#A5237C is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.186 H 344.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A5237C
RGBrgb(165, 35, 124)
HSLhsl(319, 65%, 39%)
HSVhsv(319, 79%, 65%)
CMYKcmyk(0%, 78.8%, 24.8%, 35.3%)
CIE-LABlab(39.00, 59.12, -19.02)
CIE-LCHlch(39.00, 62.10, 342.17°)
OKLaboklab(49.88% 0.1789 -0.0508)
OKLCHoklch(49.88% 0.186 344.2)
XYZxyz(19.7570, 10.6588, 20.0818)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5237C #23A54C
analogous
#8D23A5 #A5237C #A5233B
triadic
#A5237C #7CA523 #237CA5
tetradic
#A5237C #A58D23 #23A54C #233BA5
square
#A5237C #A58D23 #23A54C #233BA5
split-complementary
#A5237C #3BA523 #23A58D
monochromatic
#400E30 #731856 #A5237C #D332A0 #DE64B8

Accessibility & contrast

On white

6.71
#A5237C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5237C
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5237C#FFFFFF#000000##FFFFFF
##A5237C1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7E
Deuteranopia (green-blind)
#5C6479
Tritanopia (blue-blind)
#B0224D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a5237c;
/* rgb */ color: rgb(165, 35, 124);
/* oklch */ color: oklch(49.9% 0.186 344.2);
Tailwind
colors: {
  custom: {
    50: '#c46da2',
    500: '#a5237c',
    950: '#000000',
  },
}
SCSS
$custom: #a5237c;
$custom-light: #c46da2;
$custom-dark: #000000;
JSON
{
  "hex": "#a5237c",
  "rgb": {
    "r": 165,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 318.923,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49884,
    "c": 0.18598,
    "h": 344.2
  },
  "luminance": 0.10657
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5237C

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

Preview Lab → · Contrast checker → · Palette generator →

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