#AF4482#AF4482

#AF4482 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.0% C 0.155 H 347.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AF4482
RGBrgb(175, 68, 130)
HSLhsl(325, 44%, 48%)
HSVhsv(325, 61%, 69%)
CMYKcmyk(0%, 61.1%, 25.7%, 31.4%)
CIE-LABlab(45.44, 50.20, -12.71)
CIE-LCHlch(45.44, 51.78, 345.80°)
OKLaboklab(55.01% 0.1516 -0.0334)
OKLCHoklch(55.01% 0.155 347.6)
XYZxyz(23.7765, 14.8622, 22.7313)
Luminance0.1486 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4482 #44AF71
analogous
#A744AF #AF4482 #AF444C
triadic
#AF4482 #82AF44 #4482AF
tetradic
#AF4482 #AFA744 #44AF71 #444CAF
square
#AF4482 #AFA744 #44AF71 #444CAF
split-complementary
#AF4482 #4CAF44 #44AFA7
monochromatic
#572241 #833361 #AF4482 #C56B9F #D797BC

Accessibility & contrast

On white

5.29
#AF4482 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AF4482 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4482
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4482#FFFFFF#000000##FFFFFF
##AF44821.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506084
Deuteranopia (green-blind)
#6E727F
Tritanopia (blue-blind)
#BA415D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4482;
/* rgb */ color: rgb(175, 68, 130);
/* oklch */ color: oklch(55.0% 0.155 347.6);
Tailwind
colors: {
  custom: {
    50: '#ca7ea6',
    500: '#af4482',
    950: '#000000',
  },
}
SCSS
$custom: #af4482;
$custom-light: #ca7ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#af4482",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 130
  },
  "hsl": {
    "h": 325.234,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55007,
    "c": 0.15526,
    "h": 347.6
  },
  "luminance": 0.1486
}

Semantic roles & 50–950 ramp

primary
#AF4482
secondary
#8CC2A3
accent
#D48A54
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF4482

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

Preview Lab → · Contrast checker → · Palette generator →

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