#AF4181#AF4181

#AF4181 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.6% C 0.159 H 347.7°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AF4181
RGBrgb(175, 65, 129)
HSLhsl(325, 46%, 47%)
HSVhsv(325, 63%, 69%)
CMYKcmyk(0%, 62.9%, 26.3%, 31.4%)
CIE-LABlab(44.92, 51.40, -12.90)
CIE-LCHlch(44.92, 52.99, 345.91°)
OKLaboklab(54.6% 0.1555 -0.0339)
OKLCHoklch(54.6% 0.159 347.7)
XYZxyz(23.5329, 14.4819, 22.3205)
Luminance0.1448 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4181 #41AF6F
analogous
#A641AF #AF4181 #AF414A
triadic
#AF4181 #81AF41 #4181AF
tetradic
#AF4181 #AFA641 #41AF6F #414AAF
square
#AF4181 #AFA641 #41AF6F #414AAF
split-complementary
#AF4181 #4AAF41 #41AFA6
monochromatic
#56203F #823060 #AF4181 #C6679E #D793BB

Accessibility & contrast

On white

5.39
#AF4181 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AF4181 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4181
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4181#FFFFFF#000000##FFFFFF
##AF41811.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5E83
Deuteranopia (green-blind)
#6D717E
Tritanopia (blue-blind)
#BB3E5B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af4181;
/* rgb */ color: rgb(175, 65, 129);
/* oklch */ color: oklch(54.6% 0.159 347.7);
Tailwind
colors: {
  custom: {
    50: '#ca7ca5',
    500: '#af4181',
    950: '#000000',
  },
}
SCSS
$custom: #af4181;
$custom-light: #ca7ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#af4181",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 129
  },
  "hsl": {
    "h": 325.091,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54604,
    "c": 0.15911,
    "h": 347.7
  },
  "luminance": 0.1448
}

Semantic roles & 50–950 ramp

primary
#AF4181
secondary
#89C2A1
accent
#D58952
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF4181

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

Preview Lab → · Contrast checker → · Palette generator →

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