#A52F5E#A52F5E

#A52F5E is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.158 H 0.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A52F5E
RGBrgb(165, 47, 94)
HSLhsl(336, 56%, 42%)
HSVhsv(336, 72%, 65%)
CMYKcmyk(0%, 71.5%, 43%, 35.3%)
CIE-LABlab(39.31, 51.63, 0.28)
CIE-LCHlch(39.31, 51.63, 0.31°)
OKLaboklab(49.75% 0.1582 0.0013)
OKLCHoklch(49.75% 0.158 0.5)
XYZxyz(18.5553, 10.8428, 11.7033)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F5E #2FA576
analogous
#A52F99 #A52F5E #A53B2F
triadic
#A52F5E #5EA52F #2F5EA5
tetradic
#A52F5E #99A52F #2FA576 #3B2FA5
square
#A52F5E #99A52F #2FA576 #3B2FA5
split-complementary
#A52F5E #2FA53B #2F99A5
monochromatic
#461428 #752143 #A52F5E #CB477B #D8769D

Accessibility & contrast

On white

6.63
#A52F5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52F5E
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F5E#FFFFFF#000000##FFFFFF
##A52F5E1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484E5F
Deuteranopia (green-blind)
#68655B
Tritanopia (blue-blind)
#B31F43
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a52f5e;
/* rgb */ color: rgb(165, 47, 94);
/* oklch */ color: oklch(49.8% 0.158 0.5);
Tailwind
colors: {
  custom: {
    50: '#c5718b',
    500: '#a52f5e',
    950: '#000000',
  },
}
SCSS
$custom: #a52f5e;
$custom-light: #c5718b;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f5e",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 336.102,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49752,
    "c": 0.15824,
    "h": 0.5
  },
  "luminance": 0.10841
}

Semantic roles & 50–950 ramp

primary
#A52F5E
secondary
#70C0A0
accent
#DFA349
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080C
muted
#827B7D

Preview Lab

Preview with #A52F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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