#AF246B#AF246B

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

Color values

HEX#AF246B
RGBrgb(175, 36, 107)
HSLhsl(329, 66%, 41%)
HSVhsv(329, 79%, 69%)
CMYKcmyk(0%, 79.4%, 38.9%, 31.4%)
CIE-LABlab(40.31, 59.38, -6.23)
CIE-LCHlch(40.31, 59.71, 354.01°)
OKLaboklab(50.97% 0.1826 -0.0157)
OKLCHoklch(50.97% 0.183 355.1)
XYZxyz(20.9654, 11.4399, 15.0112)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF246B #24AF68
analogous
#AE24AF #AF246B #AF2425
triadic
#AF246B #6BAF24 #246BAF
tetradic
#AF246B #AFAE24 #24AF68 #2425AF
square
#AF246B #AFAE24 #24AF68 #2425AF
split-complementary
#AF246B #25AF24 #24AFAE
monochromatic
#490F2D #7C1A4C #AF246B #D63A8A #E16DA8

Accessibility & contrast

On white

6.39
#AF246B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF246B
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF246B#FFFFFF#000000##FFFFFF
##AF246B1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424F6D
Deuteranopia (green-blind)
#686868
Tritanopia (blue-blind)
#BD0E45
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af246b;
/* rgb */ color: rgb(175, 36, 107);
/* oklch */ color: oklch(51.0% 0.183 355.1);
Tailwind
colors: {
  custom: {
    50: '#cc6e95',
    500: '#af246b',
    950: '#000000',
  },
}
SCSS
$custom: #af246b;
$custom-light: #cc6e95;
$custom-dark: #000000;
JSON
{
  "hex": "#af246b",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 107
  },
  "hsl": {
    "h": 329.353,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50965,
    "c": 0.18328,
    "h": 355.1
  },
  "luminance": 0.11437
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF246B

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

Preview Lab → · Contrast checker → · Palette generator →

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