#A51F75#A51F75

#A51F75 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.3% C 0.186 H 347.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A51F75
RGBrgb(165, 31, 117)
HSLhsl(321, 68%, 38%)
HSVhsv(321, 81%, 65%)
CMYKcmyk(0%, 81.2%, 29.1%, 35.3%)
CIE-LABlab(38.32, 59.35, -15.70)
CIE-LCHlch(38.32, 61.40, 345.18°)
OKLaboklab(49.29% 0.181 -0.0415)
OKLCHoklch(49.29% 0.186 347.1)
XYZxyz(19.2189, 10.2659, 17.7956)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51F75 #1FA54F
analogous
#921FA5 #A51F75 #A51F32
triadic
#A51F75 #75A51F #1F75A5
tetradic
#A51F75 #A5921F #1FA54F #1F32A5
square
#A51F75 #A5921F #1FA54F #1F32A5
split-complementary
#A51F75 #32A51F #1FA592
monochromatic
#3E0C2C #711550 #A51F75 #D72A99 #E15EB2

Accessibility & contrast

On white

6.88
#A51F75 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A51F75 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A51F75
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51F75#FFFFFF#000000##FFFFFF
##A51F751.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354C77
Deuteranopia (green-blind)
#5D6272
Tritanopia (blue-blind)
#B11948
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a51f75;
/* rgb */ color: rgb(165, 31, 117);
/* oklch */ color: oklch(49.3% 0.186 347.1);
Tailwind
colors: {
  custom: {
    50: '#c46b9d',
    500: '#a51f75',
    950: '#000000',
  },
}
SCSS
$custom: #a51f75;
$custom-light: #c46b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#a51f75",
  "rgb": {
    "r": 165,
    "g": 31,
    "b": 117
  },
  "hsl": {
    "h": 321.493,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49292,
    "c": 0.18571,
    "h": 347.1
  },
  "luminance": 0.10264
}

Semantic roles & 50–950 ramp

primary
#A51F75
secondary
#5BC581
accent
#EB7B3D
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #A51F75

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

Preview Lab → · Contrast checker → · Palette generator →

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