#AF3081#AF3081

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

Color values

HEX#AF3081
RGBrgb(175, 48, 129)
HSLhsl(322, 57%, 44%)
HSVhsv(322, 73%, 69%)
CMYKcmyk(0%, 72.6%, 26.3%, 31.4%)
CIE-LABlab(42.48, 58.13, -16.60)
CIE-LCHlch(42.48, 60.45, 344.06°)
OKLaboklab(52.82% 0.1762 -0.044)
OKLCHoklch(52.82% 0.182 346)
XYZxyz(22.6996, 12.8153, 22.0428)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3081 #30AF5E
analogous
#9D30AF #AF3081 #AF3041
triadic
#AF3081 #81AF30 #3081AF
tetradic
#AF3081 #AF9D30 #30AF5E #3041AF
square
#AF3081 #AF9D30 #30AF5E #3041AF
split-complementary
#AF3081 #41AF30 #30AF9D
monochromatic
#4F163A #7F235E #AF3081 #CE4EA0 #DC7EBA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3081#FFFFFF#000000##FFFFFF
##AF30811.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af3081;
/* rgb */ color: rgb(175, 48, 129);
/* oklch */ color: oklch(52.8% 0.182 346.0);
Tailwind
colors: {
  custom: {
    50: '#cb74a5',
    500: '#af3081',
    950: '#000000',
  },
}
SCSS
$custom: #af3081;
$custom-light: #cb74a5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3081",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 129
  },
  "hsl": {
    "h": 321.732,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5282,
    "c": 0.18163,
    "h": 346
  },
  "luminance": 0.12813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3081

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

Preview Lab → · Contrast checker → · Palette generator →

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