#AF247C#AF247C

#AF247C is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.6% C 0.192 H 347.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AF247C
RGBrgb(175, 36, 124)
HSLhsl(322, 66%, 41%)
HSVhsv(322, 79%, 69%)
CMYKcmyk(0%, 79.4%, 29.1%, 31.4%)
CIE-LABlab(40.95, 61.28, -15.86)
CIE-LCHlch(40.95, 63.30, 345.49°)
OKLaboklab(51.64% 0.1869 -0.0419)
OKLCHoklch(51.64% 0.192 347.4)
XYZxyz(21.9493, 11.8335, 20.1931)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF247C #24AF57
analogous
#9D24AF #AF247C #AF2437
triadic
#AF247C #7CAF24 #247CAF
tetradic
#AF247C #AF9D24 #24AF57 #2437AF
square
#AF247C #AF9D24 #24AF57 #2437AF
split-complementary
#AF247C #37AF24 #24AF9D
monochromatic
#490F34 #7C1A58 #AF247C #D63A9D #E16DB6

Accessibility & contrast

On white

6.24
#AF247C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AF247C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF247C
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF247C#FFFFFF#000000##FFFFFF
##AF247C1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517E
Deuteranopia (green-blind)
#646979
Tritanopia (blue-blind)
#BC1D4E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af247c;
/* rgb */ color: rgb(175, 36, 124);
/* oklch */ color: oklch(51.6% 0.192 347.4);
Tailwind
colors: {
  custom: {
    50: '#cb6fa2',
    500: '#af247c',
    950: '#000000',
  },
}
SCSS
$custom: #af247c;
$custom-light: #cb6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#af247c",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 322.014,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51638,
    "c": 0.19153,
    "h": 347.4
  },
  "luminance": 0.11831
}

Semantic roles & 50–950 ramp

primary
#AF247C
secondary
#68C78B
accent
#E97D3F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080F
muted
#837B7E

Preview Lab

Preview with #AF247C

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

Preview Lab → · Contrast checker → · Palette generator →

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