#AF3066#AF3066

#AF3066 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.8% C 0.169 H 359.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AF3066
RGBrgb(175, 48, 102)
HSLhsl(334, 57%, 44%)
HSVhsv(334, 73%, 69%)
CMYKcmyk(0%, 72.6%, 41.7%, 31.4%)
CIE-LABlab(41.52, 55.01, -1.32)
CIE-LCHlch(41.52, 55.02, 358.63°)
OKLaboklab(51.79% 0.1687 -0.0028)
OKLCHoklch(51.79% 0.169 359.1)
XYZxyz(21.1359, 12.1898, 13.8077)
Luminance0.1219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3066 #30AF79
analogous
#AF30A5 #AF3066 #AF3930
triadic
#AF3066 #66AF30 #3066AF
tetradic
#AF3066 #A5AF30 #30AF79 #3930AF
square
#AF3066 #A5AF30 #30AF79 #3930AF
split-complementary
#AF3066 #30AF39 #30A5AF
monochromatic
#4F162E #7F234A #AF3066 #CE4E84 #DC7EA6

Accessibility & contrast

On white

6.11
#AF3066 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AF3066 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3066
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3066#FFFFFF#000000##FFFFFF
##AF30661.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5367
Deuteranopia (green-blind)
#6D6B63
Tritanopia (blue-blind)
#BE1F47
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af3066;
/* rgb */ color: rgb(175, 48, 102);
/* oklch */ color: oklch(51.8% 0.169 359.1);
Tailwind
colors: {
  custom: {
    50: '#cc7391',
    500: '#af3066',
    950: '#000000',
  },
}
SCSS
$custom: #af3066;
$custom-light: #cc7391;
$custom-dark: #000000;
JSON
{
  "hex": "#af3066",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 102
  },
  "hsl": {
    "h": 334.488,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51794,
    "c": 0.16876,
    "h": 359.1
  },
  "luminance": 0.12187
}

Semantic roles & 50–950 ramp

primary
#AF3066
secondary
#76C4A3
accent
#E09F48
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF3066

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

Preview Lab → · Contrast checker → · Palette generator →

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