#A52279#A52279

#A52279 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.7% C 0.185 H 345.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A52279
RGBrgb(165, 34, 121)
HSLhsl(320, 66%, 39%)
HSVhsv(320, 79%, 65%)
CMYKcmyk(0%, 79.4%, 26.7%, 35.3%)
CIE-LABlab(38.77, 59.02, -17.50)
CIE-LCHlch(38.77, 61.56, 343.48°)
OKLaboklab(49.68% 0.1793 -0.0465)
OKLCHoklch(49.68% 0.185 345.4)
XYZxyz(19.5412, 10.5261, 19.0881)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52279 #22A54E
analogous
#9022A5 #A52279 #A52237
triadic
#A52279 #79A522 #2279A5
tetradic
#A52279 #A59022 #22A54E #2237A5
square
#A52279 #A59022 #22A54E #2237A5
split-complementary
#A52279 #37A522 #22A590
monochromatic
#400D2F #721854 #A52279 #D4309D #DF63B5

Accessibility & contrast

On white

6.76
#A52279 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A52279 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52279
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52279#FFFFFF#000000##FFFFFF
##A522791.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344D7B
Deuteranopia (green-blind)
#5D6376
Tritanopia (blue-blind)
#B11F4B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a52279;
/* rgb */ color: rgb(165, 34, 121);
/* oklch */ color: oklch(49.7% 0.185 345.4);
Tailwind
colors: {
  custom: {
    50: '#c46ca0',
    500: '#a52279',
    950: '#000000',
  },
}
SCSS
$custom: #a52279;
$custom-light: #c46ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#a52279",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 320.153,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49676,
    "c": 0.18519,
    "h": 345.4
  },
  "luminance": 0.10524
}

Semantic roles & 50–950 ramp

primary
#A52279
secondary
#5FC481
accent
#E9783F
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A52279

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

Preview Lab → · Contrast checker → · Palette generator →

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