#AF3366#AF3366

#AF3366 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.1% C 0.165 H 359.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AF3366
RGBrgb(175, 51, 102)
HSLhsl(335, 55%, 44%)
HSVhsv(335, 71%, 69%)
CMYKcmyk(0%, 70.9%, 41.7%, 31.4%)
CIE-LABlab(41.91, 53.90, -0.73)
CIE-LCHlch(41.91, 53.91, 359.22°)
OKLaboklab(52.09% 0.1652 -0.0013)
OKLCHoklch(52.09% 0.165 359.6)
XYZxyz(21.2628, 12.4436, 13.8499)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3366 #33AF7C
analogous
#AF33A4 #AF3366 #AF3E33
triadic
#AF3366 #66AF33 #3366AF
tetradic
#AF3366 #A4AF33 #33AF7C #3E33AF
square
#AF3366 #A4AF33 #33AF7C #3E33AF
split-complementary
#AF3366 #33AF3E #33A4AF
monochromatic
#50172F #80254A #AF3366 #CD5285 #DB82A6

Accessibility & contrast

On white

6.02
#AF3366 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AF3366 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3366
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3366#FFFFFF#000000##FFFFFF
##AF33661.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5467
Deuteranopia (green-blind)
#6E6C63
Tritanopia (blue-blind)
#BE2348
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af3366;
/* rgb */ color: rgb(175, 51, 102);
/* oklch */ color: oklch(52.1% 0.165 359.6);
Tailwind
colors: {
  custom: {
    50: '#cc7491',
    500: '#af3366',
    950: '#000000',
  },
}
SCSS
$custom: #af3366;
$custom-light: #cc7491;
$custom-dark: #000000;
JSON
{
  "hex": "#af3366",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 102
  },
  "hsl": {
    "h": 335.323,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52086,
    "c": 0.16523,
    "h": 359.6
  },
  "luminance": 0.12441
}

Semantic roles & 50–950 ramp

primary
#AF3366
secondary
#7AC4A5
accent
#DEA14A
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF3366

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

Preview Lab → · Contrast checker → · Palette generator →

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