#AF4982#AF4982

#AF4982 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 55.6% C 0.148 H 348.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AF4982
RGBrgb(175, 73, 130)
HSLhsl(326, 41%, 49%)
HSVhsv(326, 58%, 69%)
CMYKcmyk(0%, 58.3%, 25.7%, 31.4%)
CIE-LABlab(46.30, 47.89, -11.41)
CIE-LCHlch(46.30, 49.23, 346.60°)
OKLaboklab(55.64% 0.1446 -0.0299)
OKLCHoklch(55.64% 0.148 348.3)
XYZxyz(24.0919, 15.4930, 22.8364)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4982 #49AF76
analogous
#A949AF #AF4982 #AF494F
triadic
#AF4982 #82AF49 #4982AF
tetradic
#AF4982 #AFA949 #49AF76 #494FAF
square
#AF4982 #AFA949 #49AF76 #494FAF
split-complementary
#AF4982 #4FAF49 #49AFA9
monochromatic
#592542 #843762 #AF4982 #C4719F #D69CBD

Accessibility & contrast

On white

5.12
#AF4982 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AF4982 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4982
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4982#FFFFFF#000000##FFFFFF
##AF49821.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546384
Deuteranopia (green-blind)
#717480
Tritanopia (blue-blind)
#BA4660
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af4982;
/* rgb */ color: rgb(175, 73, 130);
/* oklch */ color: oklch(55.6% 0.148 348.3);
Tailwind
colors: {
  custom: {
    50: '#ca81a6',
    500: '#af4982',
    950: '#000000',
  },
}
SCSS
$custom: #af4982;
$custom-light: #ca81a6;
$custom-dark: #000000;
JSON
{
  "hex": "#af4982",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 130
  },
  "hsl": {
    "h": 326.471,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55642,
    "c": 0.14761,
    "h": 348.3
  },
  "luminance": 0.15491
}

Semantic roles & 50–950 ramp

primary
#AF4982
secondary
#91C2A7
accent
#D18D57
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF4982

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

Preview Lab → · Contrast checker → · Palette generator →

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