#A52F5F#A52F5F

#A52F5F is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.8% C 0.159 H 359.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#A52F5F
RGBrgb(165, 47, 95)
HSLhsl(336, 56%, 42%)
HSVhsv(336, 72%, 65%)
CMYKcmyk(0%, 71.5%, 42.4%, 35.3%)
CIE-LABlab(39.35, 51.73, -0.31)
CIE-LCHlch(39.35, 51.73, 359.66°)
OKLaboklab(49.79% 0.1586 -0.0002)
OKLCHoklch(49.79% 0.159 359.9)
XYZxyz(18.6005, 10.8609, 11.9411)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F5F #2FA575
analogous
#A52F9A #A52F5F #A53A2F
triadic
#A52F5F #5FA52F #2F5FA5
tetradic
#A52F5F #9AA52F #2FA575 #3A2FA5
square
#A52F5F #9AA52F #2FA575 #3A2FA5
split-complementary
#A52F5F #2FA53A #2F9AA5
monochromatic
#461428 #752144 #A52F5F #CB477C #D8769E

Accessibility & contrast

On white

6.62
#A52F5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A52F5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52F5F
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F5F#FFFFFF#000000##FFFFFF
##A52F5F1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474E60
Deuteranopia (green-blind)
#67655C
Tritanopia (blue-blind)
#B31F43
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a52f5f;
/* rgb */ color: rgb(165, 47, 95);
/* oklch */ color: oklch(49.8% 0.159 359.9);
Tailwind
colors: {
  custom: {
    50: '#c4718c',
    500: '#a52f5f',
    950: '#000000',
  },
}
SCSS
$custom: #a52f5f;
$custom-light: #c4718c;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f5f",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 95
  },
  "hsl": {
    "h": 335.593,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49785,
    "c": 0.15858,
    "h": 359.9
  },
  "luminance": 0.10859
}

Semantic roles & 50–950 ramp

primary
#A52F5F
secondary
#70C09F
accent
#DFA249
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A52F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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