#AF247B#AF247B

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

Color values

HEX#AF247B
RGBrgb(175, 36, 123)
HSLhsl(322, 66%, 41%)
HSVhsv(322, 79%, 69%)
CMYKcmyk(0%, 79.4%, 29.7%, 31.4%)
CIE-LABlab(40.91, 61.16, -15.31)
CIE-LCHlch(40.91, 63.05, 345.95°)
OKLaboklab(51.6% 0.1867 -0.0403)
OKLCHoklch(51.6% 0.191 347.8)
XYZxyz(21.8864, 11.8083, 19.8617)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF247B #24AF58
analogous
#9E24AF #AF247B #AF2436
triadic
#AF247B #7BAF24 #247BAF
tetradic
#AF247B #AF9E24 #24AF58 #2436AF
square
#AF247B #AF9E24 #24AF58 #2436AF
split-complementary
#AF247B #36AF24 #24AF9E
monochromatic
#490F34 #7C1A57 #AF247B #D63A9C #E16DB5

Accessibility & contrast

On white

6.25
#AF247B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF247B
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF247B#FFFFFF#000000##FFFFFF
##AF247B1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517D
Deuteranopia (green-blind)
#646978
Tritanopia (blue-blind)
#BC1D4D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af247b;
/* rgb */ color: rgb(175, 36, 123);
/* oklch */ color: oklch(51.6% 0.191 347.8);
Tailwind
colors: {
  custom: {
    50: '#cb6fa1',
    500: '#af247b',
    950: '#000000',
  },
}
SCSS
$custom: #af247b;
$custom-light: #cb6fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#af247b",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 322.446,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51596,
    "c": 0.19099,
    "h": 347.8
  },
  "luminance": 0.11806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF247B

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

Preview Lab → · Contrast checker → · Palette generator →

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