#AF3080#AF3080

#AF3080 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.8% C 0.181 H 346.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AF3080
RGBrgb(175, 48, 128)
HSLhsl(322, 57%, 44%)
HSVhsv(322, 73%, 69%)
CMYKcmyk(0%, 72.6%, 26.9%, 31.4%)
CIE-LABlab(42.44, 58.00, -16.05)
CIE-LCHlch(42.44, 60.18, 344.53°)
OKLaboklab(52.78% 0.176 -0.0425)
OKLCHoklch(52.78% 0.181 346.4)
XYZxyz(22.6334, 12.7888, 21.6944)
Luminance0.1279 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3080 #30AF5F
analogous
#9E30AF #AF3080 #AF3040
triadic
#AF3080 #80AF30 #3080AF
tetradic
#AF3080 #AF9E30 #30AF5F #3040AF
square
#AF3080 #AF9E30 #30AF5F #3040AF
split-complementary
#AF3080 #40AF30 #30AF9E
monochromatic
#4F163A #7F235D #AF3080 #CE4E9F #DC7EB9

Accessibility & contrast

On white

5.90
#AF3080 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AF3080 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3080
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3080#FFFFFF#000000##FFFFFF
##AF30801.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415682
Deuteranopia (green-blind)
#666C7D
Tritanopia (blue-blind)
#BB2D54
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3080;
/* rgb */ color: rgb(175, 48, 128);
/* oklch */ color: oklch(52.8% 0.181 346.4);
Tailwind
colors: {
  custom: {
    50: '#cb74a5',
    500: '#af3080',
    950: '#000000',
  },
}
SCSS
$custom: #af3080;
$custom-light: #cb74a5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3080",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 128
  },
  "hsl": {
    "h": 322.205,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52777,
    "c": 0.18105,
    "h": 346.4
  },
  "luminance": 0.12786
}

Semantic roles & 50–950 ramp

primary
#AF3080
secondary
#76C493
accent
#E08048
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #AF3080

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

Preview Lab → · Contrast checker → · Palette generator →

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