#A51F6E#A51F6E

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

Color values

HEX#A51F6E
RGBrgb(165, 31, 110)
HSLhsl(325, 68%, 38%)
HSVhsv(325, 81%, 65%)
CMYKcmyk(0%, 81.2%, 33.3%, 35.3%)
CIE-LABlab(38.03, 58.53, -11.73)
CIE-LCHlch(38.03, 59.70, 348.67°)
OKLaboklab(49% 0.1794 -0.0306)
OKLCHoklch(49% 0.182 350.3)
XYZxyz(18.8226, 10.1074, 15.7085)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51F6E #1FA556
analogous
#991FA5 #A51F6E #A51F2B
triadic
#A51F6E #6EA51F #1F6EA5
tetradic
#A51F6E #A5991F #1FA556 #1F2BA5
square
#A51F6E #A5991F #1FA556 #1F2BA5
split-complementary
#A51F6E #2BA51F #1FA599
monochromatic
#3E0C29 #71154C #A51F6E #D72A90 #E15EAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A51F6E#FFFFFF#000000##FFFFFF
##A51F6E1.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)
#384A70
Deuteranopia (green-blind)
#5F626B
Tritanopia (blue-blind)
#B21244
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a51f6e;
/* rgb */ color: rgb(165, 31, 110);
/* oklch */ color: oklch(49.0% 0.182 350.3);
Tailwind
colors: {
  custom: {
    50: '#c46b97',
    500: '#a51f6e',
    950: '#000000',
  },
}
SCSS
$custom: #a51f6e;
$custom-light: #c46b97;
$custom-dark: #000000;
JSON
{
  "hex": "#a51f6e",
  "rgb": {
    "r": 165,
    "g": 31,
    "b": 110
  },
  "hsl": {
    "h": 324.627,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48996,
    "c": 0.18203,
    "h": 350.3
  },
  "luminance": 0.10105
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A51F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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