#A51E4F#A51E4F

#A51E4F is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.171 H 5.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#A51E4F
RGBrgb(165, 30, 79)
HSLhsl(338, 69%, 38%)
HSVhsv(338, 82%, 65%)
CMYKcmyk(0%, 81.8%, 52.1%, 35.3%)
CIE-LABlab(36.92, 55.77, 6.40)
CIE-LCHlch(36.92, 56.14, 6.54°)
OKLaboklab(47.85% 0.1705 0.0167)
OKLCHoklch(47.85% 0.171 5.6)
XYZxyz(17.3942, 9.4949, 8.3124)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51E4F #1EA574
analogous
#A51E92 #A51E4F #A5301E
triadic
#A51E4F #4FA51E #1E4FA5
tetradic
#A51E4F #92A51E #1EA574 #301EA5
square
#A51E4F #92A51E #1EA574 #301EA5
split-complementary
#A51E4F #1EA530 #1E92A5
monochromatic
#3D0B1D #711536 #A51E4F #D82868 #E15C8C

Accessibility & contrast

On white

7.25
#A51E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#A51E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A51E4F
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51E4F#FFFFFF#000000##FFFFFF
##A51E4F1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424650
Deuteranopia (green-blind)
#66604C
Tritanopia (blue-blind)
#B40034
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a51e4f;
/* rgb */ color: rgb(165, 30, 79);
/* oklch */ color: oklch(47.8% 0.171 5.6);
Tailwind
colors: {
  custom: {
    50: '#c66a80',
    500: '#a51e4f',
    950: '#000000',
  },
}
SCSS
$custom: #a51e4f;
$custom-light: #c66a80;
$custom-dark: #000000;
JSON
{
  "hex": "#a51e4f",
  "rgb": {
    "r": 165,
    "g": 30,
    "b": 79
  },
  "hsl": {
    "h": 338.222,
    "s": 69.231,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47849,
    "c": 0.17136,
    "h": 5.6
  },
  "luminance": 0.09492
}

Semantic roles & 50–950 ramp

primary
#A51E4F
secondary
#59C59E
accent
#ECAC3C
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A51E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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