#A52851#A52851

#A52851 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.162 H 6.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#A52851
RGBrgb(165, 40, 81)
HSLhsl(340, 61%, 40%)
HSVhsv(340, 76%, 65%)
CMYKcmyk(0%, 75.8%, 50.9%, 35.3%)
CIE-LABlab(38.05, 52.91, 6.71)
CIE-LCHlch(38.05, 53.33, 7.23°)
OKLaboklab(48.69% 0.1615 0.0175)
OKLCHoklch(48.69% 0.162 6.2)
XYZxyz(17.7626, 10.1134, 8.7997)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52851 #28A57C
analogous
#A5288F #A52851 #A53D28
triadic
#A52851 #51A528 #2851A5
tetradic
#A52851 #8FA528 #28A57C #3D28A5
square
#A52851 #8FA528 #28A57C #3D28A5
split-complementary
#A52851 #28A53D #288FA5
monochromatic
#421021 #741C39 #A52851 #CF3B6C #DB6C91

Accessibility & contrast

On white

6.95
#A52851 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#A52851 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52851
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52851#FFFFFF#000000##FFFFFF
##A528511.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474A52
Deuteranopia (green-blind)
#68634E
Tritanopia (blue-blind)
#B40839
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a52851;
/* rgb */ color: rgb(165, 40, 81);
/* oklch */ color: oklch(48.7% 0.162 6.2);
Tailwind
colors: {
  custom: {
    50: '#c56d81',
    500: '#a52851',
    950: '#000000',
  },
}
SCSS
$custom: #a52851;
$custom-light: #c56d81;
$custom-dark: #000000;
JSON
{
  "hex": "#a52851",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 81
  },
  "hsl": {
    "h": 340.32,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48694,
    "c": 0.16248,
    "h": 6.2
  },
  "luminance": 0.10111
}

Semantic roles & 50–950 ramp

primary
#A52851
secondary
#67C2A4
accent
#E4AF44
background
#FCF7F7
surface
#F9EDEE
border
#D2C8C9
text
#14080A
muted
#827B7C

Preview Lab

Preview with #A52851

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

Preview Lab → · Contrast checker → · Palette generator →

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