#AF3281#AF3281

#AF3281 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.0% C 0.179 H 346.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AF3281
RGBrgb(175, 50, 129)
HSLhsl(322, 56%, 44%)
HSVhsv(322, 71%, 69%)
CMYKcmyk(0%, 71.4%, 26.3%, 31.4%)
CIE-LABlab(42.74, 57.42, -16.21)
CIE-LCHlch(42.74, 59.66, 344.23°)
OKLaboklab(53.01% 0.174 -0.0429)
OKLCHoklch(53.01% 0.179 346.1)
XYZxyz(22.7832, 12.9826, 22.0707)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3281 #32AF60
analogous
#9F32AF #AF3281 #AF3243
triadic
#AF3281 #81AF32 #3281AF
tetradic
#AF3281 #AF9F32 #32AF60 #3243AF
square
#AF3281 #AF9F32 #32AF60 #3243AF
split-complementary
#AF3281 #43AF32 #32AF9F
monochromatic
#50173B #7F245E #AF3281 #CD51A0 #DB81BA

Accessibility & contrast

On white

5.84
#AF3281 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AF3281 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3281
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3281#FFFFFF#000000##FFFFFF
##AF32811.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425783
Deuteranopia (green-blind)
#676D7E
Tritanopia (blue-blind)
#BB2F55
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3281;
/* rgb */ color: rgb(175, 50, 129);
/* oklch */ color: oklch(53.0% 0.179 346.1);
Tailwind
colors: {
  custom: {
    50: '#cb75a5',
    500: '#af3281',
    950: '#000000',
  },
}
SCSS
$custom: #af3281;
$custom-light: #cb75a5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3281",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 322.08,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53005,
    "c": 0.17924,
    "h": 346.1
  },
  "luminance": 0.1298
}

Semantic roles & 50–950 ramp

primary
#AF3281
secondary
#79C494
accent
#DF8049
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF3281

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

Preview Lab → · Contrast checker → · Palette generator →

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