#AF3096#AF3096

#AF3096 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.8% C 0.195 H 337.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AF3096
RGBrgb(175, 48, 150)
HSLhsl(312, 57%, 44%)
HSVhsv(312, 73%, 69%)
CMYKcmyk(0%, 72.6%, 14.3%, 31.4%)
CIE-LABlab(43.41, 61.02, -27.95)
CIE-LCHlch(43.41, 67.12, 335.39°)
OKLaboklab(53.79% 0.1797 -0.076)
OKLCHoklch(53.79% 0.195 337.1)
XYZxyz(24.2416, 13.4321, 30.1642)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3096 #30AF49
analogous
#8830AF #AF3096 #AF3056
triadic
#AF3096 #96AF30 #3096AF
tetradic
#AF3096 #AF8830 #30AF49 #3056AF
square
#AF3096 #AF8830 #30AF49 #3056AF
split-complementary
#AF3096 #56AF30 #30AF88
monochromatic
#4F1644 #7F236D #AF3096 #CE4EB5 #DC7EC9

Accessibility & contrast

On white

5.70
#AF3096 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AF3096 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3096
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3096#FFFFFF#000000##FFFFFF
##AF30961.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345A99
Deuteranopia (green-blind)
#5F6D93
Tritanopia (blue-blind)
#B8385F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3096;
/* rgb */ color: rgb(175, 48, 150);
/* oklch */ color: oklch(53.8% 0.195 337.1);
Tailwind
colors: {
  custom: {
    50: '#cb74b5',
    500: '#af3096',
    950: '#000000',
  },
}
SCSS
$custom: #af3096;
$custom-light: #cb74b5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3096",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 150
  },
  "hsl": {
    "h": 311.811,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53792,
    "c": 0.19512,
    "h": 337.1
  },
  "luminance": 0.1343
}

Semantic roles & 50–950 ramp

primary
#AF3096
secondary
#76C486
accent
#E06648
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF3096

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

Preview Lab → · Contrast checker → · Palette generator →

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