#AF3276#AF3276

#AF3276 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.173 H 351.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AF3276
RGBrgb(175, 50, 118)
HSLhsl(327, 56%, 44%)
HSVhsv(327, 71%, 69%)
CMYKcmyk(0%, 71.4%, 32.6%, 31.4%)
CIE-LABlab(42.32, 56.05, -10.08)
CIE-LCHlch(42.32, 56.95, 349.81°)
OKLaboklab(52.56% 0.1713 -0.0261)
OKLCHoklch(52.56% 0.173 351.3)
XYZxyz(22.0910, 12.7057, 18.4251)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3276 #32AF6B
analogous
#AA32AF #AF3276 #AF3237
triadic
#AF3276 #76AF32 #3276AF
tetradic
#AF3276 #AFAA32 #32AF6B #3237AF
square
#AF3276 #AFAA32 #32AF6B #3237AF
split-complementary
#AF3276 #37AF32 #32AFAA
monochromatic
#501736 #7F2456 #AF3276 #CD5195 #DB81B2

Accessibility & contrast

On white

5.93
#AF3276 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AF3276 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3276
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3276#FFFFFF#000000##FFFFFF
##AF32761.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465678
Deuteranopia (green-blind)
#6A6C73
Tritanopia (blue-blind)
#BC2A4F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3276;
/* rgb */ color: rgb(175, 50, 118);
/* oklch */ color: oklch(52.6% 0.173 351.3);
Tailwind
colors: {
  custom: {
    50: '#cb749d',
    500: '#af3276',
    950: '#000000',
  },
}
SCSS
$custom: #af3276;
$custom-light: #cb749d;
$custom-dark: #000000;
JSON
{
  "hex": "#af3276",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 118
  },
  "hsl": {
    "h": 327.36,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52559,
    "c": 0.17328,
    "h": 351.3
  },
  "luminance": 0.12703
}

Semantic roles & 50–950 ramp

primary
#AF3276
secondary
#79C49B
accent
#DF8D49
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3276

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

Preview Lab → · Contrast checker → · Palette generator →

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