#AF247D#AF247D

#AF247D is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.7% C 0.192 H 346.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AF247D
RGBrgb(175, 36, 125)
HSLhsl(322, 66%, 41%)
HSVhsv(322, 79%, 69%)
CMYKcmyk(0%, 79.4%, 28.6%, 31.4%)
CIE-LABlab(40.99, 61.40, -16.42)
CIE-LCHlch(40.99, 63.56, 345.03°)
OKLaboklab(51.68% 0.1871 -0.0434)
OKLCHoklch(51.68% 0.192 346.9)
XYZxyz(22.0128, 11.8589, 20.5278)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF247D #24AF56
analogous
#9C24AF #AF247D #AF2437
triadic
#AF247D #7DAF24 #247DAF
tetradic
#AF247D #AF9C24 #24AF56 #2437AF
square
#AF247D #AF9C24 #24AF56 #2437AF
split-complementary
#AF247D #37AF24 #24AF9C
monochromatic
#490F34 #7C1A59 #AF247D #D63A9E #E16DB7

Accessibility & contrast

On white

6.23
#AF247D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF247D
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF247D#FFFFFF#000000##FFFFFF
##AF247D1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517F
Deuteranopia (green-blind)
#63697A
Tritanopia (blue-blind)
#BC1E4E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af247d;
/* rgb */ color: rgb(175, 36, 125);
/* oklch */ color: oklch(51.7% 0.192 346.9);
Tailwind
colors: {
  custom: {
    50: '#cb6fa2',
    500: '#af247d',
    950: '#000000',
  },
}
SCSS
$custom: #af247d;
$custom-light: #cb6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#af247d",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 321.583,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51681,
    "c": 0.19208,
    "h": 346.9
  },
  "luminance": 0.11856
}

Semantic roles & 50–950 ramp

primary
#AF247D
secondary
#68C78A
accent
#E97C3F
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF247D

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

Preview Lab → · Contrast checker → · Palette generator →

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