#A51F6F#A51F6F

#A51F6F is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.0% C 0.183 H 349.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#A51F6F
RGBrgb(165, 31, 111)
HSLhsl(324, 68%, 38%)
HSVhsv(324, 81%, 65%)
CMYKcmyk(0%, 81.2%, 32.7%, 35.3%)
CIE-LABlab(38.07, 58.65, -12.30)
CIE-LCHlch(38.07, 59.92, 348.15°)
OKLaboklab(49.04% 0.1797 -0.0321)
OKLCHoklch(49.04% 0.183 349.9)
XYZxyz(18.8774, 10.1293, 15.9969)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51F6F #1FA555
analogous
#981FA5 #A51F6F #A51F2C
triadic
#A51F6F #6FA51F #1F6FA5
tetradic
#A51F6F #A5981F #1FA555 #1F2CA5
square
#A51F6F #A5981F #1FA555 #1F2CA5
split-complementary
#A51F6F #2CA51F #1FA598
monochromatic
#3E0C2A #71154C #A51F6F #D72A91 #E15EAC

Accessibility & contrast

On white

6.94
#A51F6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A51F6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A51F6F
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51F6F#FFFFFF#000000##FFFFFF
##A51F6F1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384B71
Deuteranopia (green-blind)
#5F626C
Tritanopia (blue-blind)
#B21345
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a51f6f;
/* rgb */ color: rgb(165, 31, 111);
/* oklch */ color: oklch(49.0% 0.183 349.9);
Tailwind
colors: {
  custom: {
    50: '#c46b98',
    500: '#a51f6f',
    950: '#000000',
  },
}
SCSS
$custom: #a51f6f;
$custom-light: #c46b98;
$custom-dark: #000000;
JSON
{
  "hex": "#a51f6f",
  "rgb": {
    "r": 165,
    "g": 31,
    "b": 111
  },
  "hsl": {
    "h": 324.179,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49037,
    "c": 0.18253,
    "h": 349.9
  },
  "luminance": 0.10127
}

Semantic roles & 50–950 ramp

primary
#A51F6F
secondary
#5BC586
accent
#EB833D
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #A51F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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