#AF246F#AF246F

#AF246F is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.1% C 0.185 H 353.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AF246F
RGBrgb(175, 36, 111)
HSLhsl(328, 66%, 41%)
HSVhsv(328, 79%, 69%)
CMYKcmyk(0%, 79.4%, 36.6%, 31.4%)
CIE-LABlab(40.45, 59.80, -8.53)
CIE-LCHlch(40.45, 60.41, 351.89°)
OKLaboklab(51.11% 0.1837 -0.0218)
OKLCHoklch(51.11% 0.185 353.2)
XYZxyz(21.1807, 11.5261, 16.1452)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF246F #24AF64
analogous
#AA24AF #AF246F #AF242A
triadic
#AF246F #6FAF24 #246FAF
tetradic
#AF246F #AFAA24 #24AF64 #242AAF
square
#AF246F #AFAA24 #24AF64 #242AAF
split-complementary
#AF246F #2AAF24 #24AFAA
monochromatic
#490F2F #7C1A4F #AF246F #D63A8E #E16DAB

Accessibility & contrast

On white

6.35
#AF246F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AF246F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF246F
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF246F#FFFFFF#000000##FFFFFF
##AF246F1.006.353.306.35
#FFFFFF6.351.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404F71
Deuteranopia (green-blind)
#67686C
Tritanopia (blue-blind)
#BD1247
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af246f;
/* rgb */ color: rgb(175, 36, 111);
/* oklch */ color: oklch(51.1% 0.185 353.2);
Tailwind
colors: {
  custom: {
    50: '#cc6e98',
    500: '#af246f',
    950: '#000000',
  },
}
SCSS
$custom: #af246f;
$custom-light: #cc6e98;
$custom-dark: #000000;
JSON
{
  "hex": "#af246f",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 327.626,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51114,
    "c": 0.18503,
    "h": 353.2
  },
  "luminance": 0.11523
}

Semantic roles & 50–950 ramp

primary
#AF246F
secondary
#68C794
accent
#E98D3F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF246F

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

Preview Lab → · Contrast checker → · Palette generator →

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