#A41F8A#A41F8A

#A41F8A is a mid, vivid pink. Relative luminance 0.107; OKLCH L 50.1% C 0.198 H 337.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#A41F8A
RGBrgb(164, 31, 138)
HSLhsl(312, 68%, 38%)
HSVhsv(312, 81%, 64%)
CMYKcmyk(0%, 81.1%, 15.9%, 35.7%)
CIE-LABlab(39.09, 61.86, -27.55)
CIE-LCHlch(39.09, 67.72, 336.00°)
OKLaboklab(50.13% 0.1832 -0.0749)
OKLCHoklch(50.13% 0.198 337.8)
XYZxyz(20.3877, 10.7095, 25.0332)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A41F8A #1FA439
analogous
#7B1FA4 #A41F8A #A41F48
triadic
#A41F8A #8AA41F #1F8AA4
tetradic
#A41F8A #A47B1F #1FA439 #1F48A4
square
#A41F8A #A47B1F #1FA439 #1F48A4
split-complementary
#A41F8A #48A41F #1FA47B
monochromatic
#3D0C33 #71155F #A41F8A #D72AB5 #E05DC7

Accessibility & contrast

On white

6.68
#A41F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A41F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A41F8A
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A41F8A#FFFFFF#000000##FFFFFF
##A41F8A1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8D
Deuteranopia (green-blind)
#556387
Tritanopia (blue-blind)
#AD2854
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a41f8a;
/* rgb */ color: rgb(164, 31, 138);
/* oklch */ color: oklch(50.1% 0.198 337.8);
Tailwind
colors: {
  custom: {
    50: '#c36cac',
    500: '#a41f8a',
    950: '#000000',
  },
}
SCSS
$custom: #a41f8a;
$custom-light: #c36cac;
$custom-dark: #000000;
JSON
{
  "hex": "#a41f8a",
  "rgb": {
    "r": 164,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 311.729,
    "s": 68.205,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50126,
    "c": 0.19793,
    "h": 337.8
  },
  "luminance": 0.10707
}

Semantic roles & 50–950 ramp

primary
#A41F8A
secondary
#5AC56F
accent
#EB5F3D
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A41F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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