#AF247E#AF247E

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

Color values

HEX#AF247E
RGBrgb(175, 36, 126)
HSLhsl(321, 66%, 41%)
HSVhsv(321, 79%, 69%)
CMYKcmyk(0%, 79.4%, 28%, 31.4%)
CIE-LABlab(41.03, 61.52, -16.98)
CIE-LCHlch(41.03, 63.82, 344.57°)
OKLaboklab(51.72% 0.1873 -0.045)
OKLCHoklch(51.72% 0.193 346.5)
XYZxyz(22.0770, 11.8846, 20.8660)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF247E #24AF55
analogous
#9B24AF #AF247E #AF2439
triadic
#AF247E #7EAF24 #247EAF
tetradic
#AF247E #AF9B24 #24AF55 #2439AF
square
#AF247E #AF9B24 #24AF55 #2439AF
split-complementary
#AF247E #39AF24 #24AF9B
monochromatic
#490F35 #7C1A59 #AF247E #D63A9F #E16DB8

Accessibility & contrast

On white

6.22
#AF247E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF247E
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF247E#FFFFFF#000000##FFFFFF
##AF247E1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395280
Deuteranopia (green-blind)
#63697B
Tritanopia (blue-blind)
#BB1F4F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af247e;
/* rgb */ color: rgb(175, 36, 126);
/* oklch */ color: oklch(51.7% 0.193 346.5);
Tailwind
colors: {
  custom: {
    50: '#cb6fa3',
    500: '#af247e',
    950: '#000000',
  },
}
SCSS
$custom: #af247e;
$custom-light: #cb6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#af247e",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 321.151,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51724,
    "c": 0.19263,
    "h": 346.5
  },
  "luminance": 0.11882
}

Semantic roles & 50–950 ramp

primary
#AF247E
secondary
#68C789
accent
#E97B3F
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF247E

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

Preview Lab → · Contrast checker → · Palette generator →

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