#AF246D#AF246D

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

Color values

HEX#AF246D
RGBrgb(175, 36, 109)
HSLhsl(328, 66%, 41%)
HSVhsv(328, 79%, 69%)
CMYKcmyk(0%, 79.4%, 37.7%, 31.4%)
CIE-LABlab(40.38, 59.59, -7.38)
CIE-LCHlch(40.38, 60.05, 352.94°)
OKLaboklab(51.04% 0.1832 -0.0188)
OKLCHoklch(51.04% 0.184 354.2)
XYZxyz(21.0718, 11.4825, 15.5717)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF246D #24AF66
analogous
#AC24AF #AF246D #AF2428
triadic
#AF246D #6DAF24 #246DAF
tetradic
#AF246D #AFAC24 #24AF66 #2428AF
square
#AF246D #AFAC24 #24AF66 #2428AF
split-complementary
#AF246D #28AF24 #24AFAC
monochromatic
#490F2E #7C1A4D #AF246D #D63A8C #E16DAA

Accessibility & contrast

On white

6.37
#AF246D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF246D
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF246D#FFFFFF#000000##FFFFFF
##AF246D1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414F6F
Deuteranopia (green-blind)
#68686A
Tritanopia (blue-blind)
#BD1046
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af246d;
/* rgb */ color: rgb(175, 36, 109);
/* oklch */ color: oklch(51.0% 0.184 354.2);
Tailwind
colors: {
  custom: {
    50: '#cc6e96',
    500: '#af246d',
    950: '#000000',
  },
}
SCSS
$custom: #af246d;
$custom-light: #cc6e96;
$custom-dark: #000000;
JSON
{
  "hex": "#af246d",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 109
  },
  "hsl": {
    "h": 328.489,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51038,
    "c": 0.18414,
    "h": 354.2
  },
  "luminance": 0.1148
}

Semantic roles & 50–950 ramp

primary
#AF246D
secondary
#68C795
accent
#E9903F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF246D

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

Preview Lab → · Contrast checker → · Palette generator →

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