#AF4381#AF4381

#AF4381 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.8% C 0.156 H 348.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AF4381
RGBrgb(175, 67, 129)
HSLhsl(326, 45%, 47%)
HSVhsv(326, 62%, 69%)
CMYKcmyk(0%, 61.7%, 26.3%, 31.4%)
CIE-LABlab(45.24, 50.51, -12.41)
CIE-LCHlch(45.24, 52.01, 346.20°)
OKLaboklab(54.85% 0.1527 -0.0326)
OKLCHoklch(54.85% 0.156 348)
XYZxyz(23.6497, 14.7156, 22.3595)
Luminance0.1471 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4381 #43AF71
analogous
#A743AF #AF4381 #AF434B
triadic
#AF4381 #81AF43 #4381AF
tetradic
#AF4381 #AFA743 #43AF71 #434BAF
square
#AF4381 #AFA743 #43AF71 #434BAF
split-complementary
#AF4381 #4BAF43 #43AFA7
monochromatic
#562140 #833260 #AF4381 #C6699E #D796BB

Accessibility & contrast

On white

5.33
#AF4381 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AF4381 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4381
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4381#FFFFFF#000000##FFFFFF
##AF43811.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505F83
Deuteranopia (green-blind)
#6E727E
Tritanopia (blue-blind)
#BB405C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4381;
/* rgb */ color: rgb(175, 67, 129);
/* oklch */ color: oklch(54.8% 0.156 348.0);
Tailwind
colors: {
  custom: {
    50: '#ca7da5',
    500: '#af4381',
    950: '#000000',
  },
}
SCSS
$custom: #af4381;
$custom-light: #ca7da5;
$custom-dark: #000000;
JSON
{
  "hex": "#af4381",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 325.556,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54845,
    "c": 0.15616,
    "h": 348
  },
  "luminance": 0.14713
}

Semantic roles & 50–950 ramp

primary
#AF4381
secondary
#8BC2A3
accent
#D48A53
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF4381

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

Preview Lab → · Contrast checker → · Palette generator →

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