#AF3084#AF3084

#AF3084 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.183 H 344.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AF3084
RGBrgb(175, 48, 132)
HSLhsl(320, 57%, 44%)
HSVhsv(320, 73%, 69%)
CMYKcmyk(0%, 72.6%, 24.6%, 31.4%)
CIE-LABlab(42.61, 58.52, -18.25)
CIE-LCHlch(42.61, 61.30, 342.68°)
OKLaboklab(52.95% 0.1769 -0.0486)
OKLCHoklch(52.95% 0.183 344.6)
XYZxyz(22.9019, 12.8962, 23.1084)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3084 #30AF5B
analogous
#9A30AF #AF3084 #AF3044
triadic
#AF3084 #84AF30 #3084AF
tetradic
#AF3084 #AF9A30 #30AF5B #3044AF
square
#AF3084 #AF9A30 #30AF5B #3044AF
split-complementary
#AF3084 #44AF30 #30AF9A
monochromatic
#4F163C #7F2360 #AF3084 #CE4EA3 #DC7EBC

Accessibility & contrast

On white

5.87
#AF3084 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AF3084 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3084
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3084#FFFFFF#000000##FFFFFF
##AF30841.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5786
Deuteranopia (green-blind)
#656C81
Tritanopia (blue-blind)
#BB2F56
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3084;
/* rgb */ color: rgb(175, 48, 132);
/* oklch */ color: oklch(52.9% 0.183 344.6);
Tailwind
colors: {
  custom: {
    50: '#cb74a8',
    500: '#af3084',
    950: '#000000',
  },
}
SCSS
$custom: #af3084;
$custom-light: #cb74a8;
$custom-dark: #000000;
JSON
{
  "hex": "#af3084",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 132
  },
  "hsl": {
    "h": 320.315,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52949,
    "c": 0.18341,
    "h": 344.6
  },
  "luminance": 0.12894
}

Semantic roles & 50–950 ramp

primary
#AF3084
secondary
#76C491
accent
#E07B48
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF3084

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

Preview Lab → · Contrast checker → · Palette generator →

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