#AF247A#AF247A

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

Color values

HEX#AF247A
RGBrgb(175, 36, 122)
HSLhsl(323, 66%, 41%)
HSVhsv(323, 79%, 69%)
CMYKcmyk(0%, 79.4%, 30.3%, 31.4%)
CIE-LABlab(40.87, 61.05, -14.75)
CIE-LCHlch(40.87, 62.80, 346.42°)
OKLaboklab(51.55% 0.1865 -0.0388)
OKLCHoklch(51.55% 0.19 348.2)
XYZxyz(21.8241, 11.7834, 19.5337)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF247A #24AF59
analogous
#9F24AF #AF247A #AF2434
triadic
#AF247A #7AAF24 #247AAF
tetradic
#AF247A #AF9F24 #24AF59 #2434AF
square
#AF247A #AF9F24 #24AF59 #2434AF
split-complementary
#AF247A #34AF24 #24AF9F
monochromatic
#490F33 #7C1A57 #AF247A #D63A9B #E16DB5

Accessibility & contrast

On white

6.26
#AF247A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AF247A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF247A
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF247A#FFFFFF#000000##FFFFFF
##AF247A1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517C
Deuteranopia (green-blind)
#646977
Tritanopia (blue-blind)
#BC1C4D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af247a;
/* rgb */ color: rgb(175, 36, 122);
/* oklch */ color: oklch(51.6% 0.190 348.2);
Tailwind
colors: {
  custom: {
    50: '#cb6fa0',
    500: '#af247a',
    950: '#000000',
  },
}
SCSS
$custom: #af247a;
$custom-light: #cb6fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#af247a",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 322.878,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51554,
    "c": 0.19045,
    "h": 348.2
  },
  "luminance": 0.11781
}

Semantic roles & 50–950 ramp

primary
#AF247A
secondary
#68C78C
accent
#E9803F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AF247A

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

Preview Lab → · Contrast checker → · Palette generator →

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