#AF306C#AF306C

#AF306C is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.0% C 0.171 H 356.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AF306C
RGBrgb(175, 48, 108)
HSLhsl(332, 57%, 44%)
HSVhsv(332, 73%, 69%)
CMYKcmyk(0%, 72.6%, 38.3%, 31.4%)
CIE-LABlab(41.71, 55.64, -4.78)
CIE-LCHlch(41.71, 55.84, 355.09°)
OKLaboklab(52% 0.1707 -0.0119)
OKLCHoklch(52% 0.171 356)
XYZxyz(21.4443, 12.3132, 15.4319)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF306C #30AF73
analogous
#AF30AB #AF306C #AF3430
triadic
#AF306C #6CAF30 #306CAF
tetradic
#AF306C #ABAF30 #30AF73 #3430AF
square
#AF306C #ABAF30 #30AF73 #3430AF
split-complementary
#AF306C #30AF34 #30ABAF
monochromatic
#4F1631 #7F234E #AF306C #CE4E8B #DC7EAA

Accessibility & contrast

On white

6.07
#AF306C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AF306C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF306C
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF306C#FFFFFF#000000##FFFFFF
##AF306C1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48536E
Deuteranopia (green-blind)
#6C6B69
Tritanopia (blue-blind)
#BD224A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af306c;
/* rgb */ color: rgb(175, 48, 108);
/* oklch */ color: oklch(52.0% 0.171 356.0);
Tailwind
colors: {
  custom: {
    50: '#cc7396',
    500: '#af306c',
    950: '#000000',
  },
}
SCSS
$custom: #af306c;
$custom-light: #cc7396;
$custom-dark: #000000;
JSON
{
  "hex": "#af306c",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 331.654,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52,
    "c": 0.17108,
    "h": 356
  },
  "luminance": 0.12311
}

Semantic roles & 50–950 ramp

primary
#AF306C
secondary
#76C4A0
accent
#E09848
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF306C

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

Preview Lab → · Contrast checker → · Palette generator →

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