#AF246C#AF246C

#AF246C is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.184 H 354.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#AF246C
RGBrgb(175, 36, 108)
HSLhsl(329, 66%, 41%)
HSVhsv(329, 79%, 69%)
CMYKcmyk(0%, 79.4%, 38.3%, 31.4%)
CIE-LABlab(40.35, 59.49, -6.81)
CIE-LCHlch(40.35, 59.87, 353.47°)
OKLaboklab(51% 0.1829 -0.0172)
OKLCHoklch(51% 0.184 354.6)
XYZxyz(21.0183, 11.4611, 15.2898)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF246C #24AF67
analogous
#AD24AF #AF246C #AF2426
triadic
#AF246C #6CAF24 #246CAF
tetradic
#AF246C #AFAD24 #24AF67 #2426AF
square
#AF246C #AFAD24 #24AF67 #2426AF
split-complementary
#AF246C #26AF24 #24AFAD
monochromatic
#490F2D #7C1A4D #AF246C #D63A8B #E16DA9

Accessibility & contrast

On white

6.38
#AF246C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AF246C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF246C
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF246C#FFFFFF#000000##FFFFFF
##AF246C1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414F6E
Deuteranopia (green-blind)
#686869
Tritanopia (blue-blind)
#BD0F45
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af246c;
/* rgb */ color: rgb(175, 36, 108);
/* oklch */ color: oklch(51.0% 0.184 354.6);
Tailwind
colors: {
  custom: {
    50: '#cc6e96',
    500: '#af246c',
    950: '#000000',
  },
}
SCSS
$custom: #af246c;
$custom-light: #cc6e96;
$custom-dark: #000000;
JSON
{
  "hex": "#af246c",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 328.921,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51001,
    "c": 0.18371,
    "h": 354.6
  },
  "luminance": 0.11458
}

Semantic roles & 50–950 ramp

primary
#AF246C
secondary
#68C796
accent
#E9913F
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF246C

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

Preview Lab → · Contrast checker → · Palette generator →

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