#AF3082#AF3082

#AF3082 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.9% C 0.182 H 345.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AF3082
RGBrgb(175, 48, 130)
HSLhsl(321, 57%, 44%)
HSVhsv(321, 73%, 69%)
CMYKcmyk(0%, 72.6%, 25.7%, 31.4%)
CIE-LABlab(42.52, 58.26, -17.15)
CIE-LCHlch(42.52, 60.73, 343.59°)
OKLaboklab(52.86% 0.1764 -0.0455)
OKLCHoklch(52.86% 0.182 345.5)
XYZxyz(22.7664, 12.8420, 22.3946)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3082 #30AF5D
analogous
#9C30AF #AF3082 #AF3042
triadic
#AF3082 #82AF30 #3082AF
tetradic
#AF3082 #AF9C30 #30AF5D #3042AF
square
#AF3082 #AF9C30 #30AF5D #3042AF
split-complementary
#AF3082 #42AF30 #30AF9C
monochromatic
#4F163B #7F235E #AF3082 #CE4EA1 #DC7EBA

Accessibility & contrast

On white

5.89
#AF3082 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AF3082 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3082
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3082#FFFFFF#000000##FFFFFF
##AF30821.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405784
Deuteranopia (green-blind)
#666C7F
Tritanopia (blue-blind)
#BB2E55
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3082;
/* rgb */ color: rgb(175, 48, 130);
/* oklch */ color: oklch(52.9% 0.182 345.5);
Tailwind
colors: {
  custom: {
    50: '#cb74a6',
    500: '#af3082',
    950: '#000000',
  },
}
SCSS
$custom: #af3082;
$custom-light: #cb74a6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3082",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 130
  },
  "hsl": {
    "h": 321.26,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52863,
    "c": 0.18222,
    "h": 345.5
  },
  "luminance": 0.1284
}

Semantic roles & 50–950 ramp

primary
#AF3082
secondary
#76C492
accent
#E07E48
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #AF3082

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

Preview Lab → · Contrast checker → · Palette generator →

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