#AF246A#AF246A

#AF246A is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.9% C 0.183 H 355.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AF246A
RGBrgb(175, 36, 106)
HSLhsl(330, 66%, 41%)
HSVhsv(330, 79%, 69%)
CMYKcmyk(0%, 79.4%, 39.4%, 31.4%)
CIE-LABlab(40.28, 59.28, -5.65)
CIE-LCHlch(40.28, 59.55, 354.55°)
OKLaboklab(50.93% 0.1823 -0.0141)
OKLCHoklch(50.93% 0.183 355.6)
XYZxyz(20.9131, 11.4190, 14.7357)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF246A #24AF69
analogous
#AF24AF #AF246A #AF2425
triadic
#AF246A #6AAF24 #246AAF
tetradic
#AF246A #AFAF24 #24AF69 #2425AF
square
#AF246A #AFAF24 #24AF69 #2425AF
split-complementary
#AF246A #25AF24 #24AFAF
monochromatic
#490F2D #7C1A4B #AF246A #D63A89 #E16DA7

Accessibility & contrast

On white

6.40
#AF246A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AF246A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF246A
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF246A#FFFFFF#000000##FFFFFF
##AF246A1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424F6C
Deuteranopia (green-blind)
#686867
Tritanopia (blue-blind)
#BD0D44
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af246a;
/* rgb */ color: rgb(175, 36, 106);
/* oklch */ color: oklch(50.9% 0.183 355.6);
Tailwind
colors: {
  custom: {
    50: '#cc6e94',
    500: '#af246a',
    950: '#000000',
  },
}
SCSS
$custom: #af246a;
$custom-light: #cc6e94;
$custom-dark: #000000;
JSON
{
  "hex": "#af246a",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 329.784,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50928,
    "c": 0.18287,
    "h": 355.6
  },
  "luminance": 0.11416
}

Semantic roles & 50–950 ramp

primary
#AF246A
secondary
#68C797
accent
#E9933F
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF246A

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

Preview Lab → · Contrast checker → · Palette generator →

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