#A61F8A#A61F8A

#A61F8A is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.5% C 0.199 H 338.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A61F8A
RGBrgb(166, 31, 138)
HSLhsl(312, 69%, 39%)
HSVhsv(312, 81%, 65%)
CMYKcmyk(0%, 81.3%, 16.9%, 34.9%)
CIE-LABlab(39.45, 62.31, -26.95)
CIE-LCHlch(39.45, 67.89, 336.61°)
OKLaboklab(50.46% 0.1851 -0.0732)
OKLCHoklch(50.46% 0.199 338.4)
XYZxyz(20.8038, 10.9240, 25.0527)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A61F8A #1FA63B
analogous
#7E1FA6 #A61F8A #A61F47
triadic
#A61F8A #8AA61F #1F8AA6
tetradic
#A61F8A #A67E1F #1FA63B #1F47A6
square
#A61F8A #A67E1F #1FA63B #1F47A6
split-complementary
#A61F8A #47A61F #1FA67E
monochromatic
#3F0C34 #72155F #A61F8A #D72BB4 #E15EC6

Accessibility & contrast

On white

6.59
#A61F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A61F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A61F8A
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A61F8A#FFFFFF#000000##FFFFFF
##A61F8A1.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508D
Deuteranopia (green-blind)
#566487
Tritanopia (blue-blind)
#B02754
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a61f8a;
/* rgb */ color: rgb(166, 31, 138);
/* oklch */ color: oklch(50.5% 0.199 338.4);
Tailwind
colors: {
  custom: {
    50: '#c56cac',
    500: '#a61f8a',
    950: '#000000',
  },
}
SCSS
$custom: #a61f8a;
$custom-light: #c56cac;
$custom-dark: #000000;
JSON
{
  "hex": "#a61f8a",
  "rgb": {
    "r": 166,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 312.444,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50456,
    "c": 0.19902,
    "h": 338.4
  },
  "luminance": 0.10922
}

Semantic roles & 50–950 ramp

primary
#A61F8A
secondary
#5BC571
accent
#EB613C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A61F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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