#AF3582#AF3582

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

Color values

HEX#AF3582
RGBrgb(175, 53, 130)
HSLhsl(322, 54%, 45%)
HSVhsv(322, 70%, 69%)
CMYKcmyk(0%, 69.7%, 25.7%, 31.4%)
CIE-LABlab(43.17, 56.44, -16.16)
CIE-LCHlch(43.17, 58.71, 344.02°)
OKLaboklab(53.34% 0.1708 -0.0428)
OKLCHoklch(53.34% 0.176 345.9)
XYZxyz(22.9825, 13.2743, 22.4666)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3582 #35AF62
analogous
#9F35AF #AF3582 #AF3545
triadic
#AF3582 #82AF35 #3582AF
tetradic
#AF3582 #AF9F35 #35AF62 #3545AF
square
#AF3582 #AF9F35 #35AF62 #3545AF
split-complementary
#AF3582 #45AF35 #35AF9F
monochromatic
#51193C #80275F #AF3582 #CC56A0 #DA85BA

Accessibility & contrast

On white

5.75
#AF3582 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3582
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3582#FFFFFF#000000##FFFFFF
##AF35821.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445984
Deuteranopia (green-blind)
#686E7F
Tritanopia (blue-blind)
#BB3257
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af3582;
/* rgb */ color: rgb(175, 53, 130);
/* oklch */ color: oklch(53.3% 0.176 345.9);
Tailwind
colors: {
  custom: {
    50: '#cb76a6',
    500: '#af3582',
    950: '#000000',
  },
}
SCSS
$custom: #af3582;
$custom-light: #cb76a6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3582",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 130
  },
  "hsl": {
    "h": 322.131,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53337,
    "c": 0.17611,
    "h": 345.9
  },
  "luminance": 0.13272
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3582

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

Preview Lab → · Contrast checker → · Palette generator →

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