#A5237A#A5237A

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

Color values

HEX#A5237A
RGBrgb(165, 35, 122)
HSLhsl(320, 65%, 39%)
HSVhsv(320, 79%, 65%)
CMYKcmyk(0%, 78.8%, 26.1%, 35.3%)
CIE-LABlab(38.91, 58.86, -17.91)
CIE-LCHlch(38.91, 61.53, 343.08°)
OKLaboklab(49.79% 0.1785 -0.0477)
OKLCHoklch(49.79% 0.185 345.1)
XYZxyz(19.6318, 10.6087, 19.4224)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5237A #23A54E
analogous
#8F23A5 #A5237A #A52339
triadic
#A5237A #7AA523 #237AA5
tetradic
#A5237A #A58F23 #23A54E #2339A5
square
#A5237A #A58F23 #23A54E #2339A5
split-complementary
#A5237A #39A523 #23A58F
monochromatic
#400E2F #731855 #A5237A #D3329E #DE64B6

Accessibility & contrast

On white

6.73
#A5237A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A5237A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5237A
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5237A#FFFFFF#000000##FFFFFF
##A5237A1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354E7C
Deuteranopia (green-blind)
#5D6377
Tritanopia (blue-blind)
#B0214C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a5237a;
/* rgb */ color: rgb(165, 35, 122);
/* oklch */ color: oklch(49.8% 0.185 345.1);
Tailwind
colors: {
  custom: {
    50: '#c46da0',
    500: '#a5237a',
    950: '#000000',
  },
}
SCSS
$custom: #a5237a;
$custom-light: #c46da0;
$custom-dark: #000000;
JSON
{
  "hex": "#a5237a",
  "rgb": {
    "r": 165,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 319.846,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49794,
    "c": 0.1848,
    "h": 345.1
  },
  "luminance": 0.10607
}

Semantic roles & 50–950 ramp

primary
#A5237A
secondary
#60C481
accent
#E87740
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A5237A

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

Preview Lab → · Contrast checker → · Palette generator →

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