#AF306B#AF306B

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

Color values

HEX#AF306B
RGBrgb(175, 48, 107)
HSLhsl(332, 57%, 44%)
HSVhsv(332, 73%, 69%)
CMYKcmyk(0%, 72.6%, 38.9%, 31.4%)
CIE-LABlab(41.68, 55.53, -4.20)
CIE-LCHlch(41.68, 55.69, 355.67°)
OKLaboklab(51.97% 0.1704 -0.0103)
OKLCHoklch(51.97% 0.171 356.5)
XYZxyz(21.3914, 12.2920, 15.1532)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF306B #30AF74
analogous
#AF30AA #AF306B #AF3430
triadic
#AF306B #6BAF30 #306BAF
tetradic
#AF306B #AAAF30 #30AF74 #3430AF
square
#AF306B #AAAF30 #30AF74 #3430AF
split-complementary
#AF306B #30AF34 #30AAAF
monochromatic
#4F1630 #7F234E #AF306B #CE4E8A #DC7EA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF306B#FFFFFF#000000##FFFFFF
##AF306B1.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)
#49536D
Deuteranopia (green-blind)
#6C6B68
Tritanopia (blue-blind)
#BD2149
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af306b;
/* rgb */ color: rgb(175, 48, 107);
/* oklch */ color: oklch(52.0% 0.171 356.5);
Tailwind
colors: {
  custom: {
    50: '#cc7395',
    500: '#af306b',
    950: '#000000',
  },
}
SCSS
$custom: #af306b;
$custom-light: #cc7395;
$custom-dark: #000000;
JSON
{
  "hex": "#af306b",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 107
  },
  "hsl": {
    "h": 332.126,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51965,
    "c": 0.17067,
    "h": 356.5
  },
  "luminance": 0.12289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF306B

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

Preview Lab → · Contrast checker → · Palette generator →

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