#AF3581#AF3581

#AF3581 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.3% C 0.176 H 346.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AF3581
RGBrgb(175, 53, 129)
HSLhsl(323, 54%, 45%)
HSVhsv(323, 70%, 69%)
CMYKcmyk(0%, 69.7%, 26.3%, 31.4%)
CIE-LABlab(43.13, 56.31, -15.61)
CIE-LCHlch(43.13, 58.43, 344.51°)
OKLaboklab(53.3% 0.1706 -0.0413)
OKLCHoklch(53.3% 0.176 346.4)
XYZxyz(22.9157, 13.2476, 22.1148)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3581 #35AF63
analogous
#A035AF #AF3581 #AF3544
triadic
#AF3581 #81AF35 #3581AF
tetradic
#AF3581 #AFA035 #35AF63 #3544AF
square
#AF3581 #AFA035 #35AF63 #3544AF
split-complementary
#AF3581 #44AF35 #35AFA0
monochromatic
#51193C #80275E #AF3581 #CC569F #DA85BA

Accessibility & contrast

On white

5.76
#AF3581 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AF3581 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3581
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3581#FFFFFF#000000##FFFFFF
##AF35811.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445983
Deuteranopia (green-blind)
#686D7E
Tritanopia (blue-blind)
#BB3256
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af3581;
/* rgb */ color: rgb(175, 53, 129);
/* oklch */ color: oklch(53.3% 0.176 346.4);
Tailwind
colors: {
  custom: {
    50: '#cb76a5',
    500: '#af3581',
    950: '#000000',
  },
}
SCSS
$custom: #af3581;
$custom-light: #cb76a5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3581",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 129
  },
  "hsl": {
    "h": 322.623,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53295,
    "c": 0.17552,
    "h": 346.4
  },
  "luminance": 0.13245
}

Semantic roles & 50–950 ramp

primary
#AF3581
secondary
#7CC497
accent
#DD824B
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF3581

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

Preview Lab → · Contrast checker → · Palette generator →

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