#AF247F#AF247F

#AF247F is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.8% C 0.193 H 346.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AF247F
RGBrgb(175, 36, 127)
HSLhsl(321, 66%, 41%)
HSVhsv(321, 79%, 69%)
CMYKcmyk(0%, 79.4%, 27.4%, 31.4%)
CIE-LABlab(41.07, 61.65, -17.53)
CIE-LCHlch(41.07, 64.09, 344.13°)
OKLaboklab(51.77% 0.1875 -0.0465)
OKLCHoklch(51.77% 0.193 346.1)
XYZxyz(22.1419, 11.9105, 21.2075)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF247F #24AF54
analogous
#9A24AF #AF247F #AF243A
triadic
#AF247F #7FAF24 #247FAF
tetradic
#AF247F #AF9A24 #24AF54 #243AAF
square
#AF247F #AF9A24 #24AF54 #243AAF
split-complementary
#AF247F #3AAF24 #24AF9A
monochromatic
#490F35 #7C1A5A #AF247F #D63AA0 #E16DB9

Accessibility & contrast

On white

6.21
#AF247F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AF247F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF247F
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF247F#FFFFFF#000000##FFFFFF
##AF247F1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395281
Deuteranopia (green-blind)
#63697C
Tritanopia (blue-blind)
#BB204F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af247f;
/* rgb */ color: rgb(175, 36, 127);
/* oklch */ color: oklch(51.8% 0.193 346.1);
Tailwind
colors: {
  custom: {
    50: '#cb6fa4',
    500: '#af247f',
    950: '#000000',
  },
}
SCSS
$custom: #af247f;
$custom-light: #cb6fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#af247f",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 320.719,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51768,
    "c": 0.19319,
    "h": 346.1
  },
  "luminance": 0.11908
}

Semantic roles & 50–950 ramp

primary
#AF247F
secondary
#68C789
accent
#E97A3F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF247F

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

Preview Lab → · Contrast checker → · Palette generator →

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