#AF2684#AF2684

#AF2684 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.1% C 0.194 H 344.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AF2684
RGBrgb(175, 38, 132)
HSLhsl(319, 64%, 42%)
HSVhsv(319, 78%, 69%)
CMYKcmyk(0%, 78.3%, 24.6%, 31.4%)
CIE-LABlab(41.48, 61.71, -19.98)
CIE-LCHlch(41.48, 64.86, 342.06°)
OKLaboklab(52.13% 0.1867 -0.0534)
OKLCHoklch(52.13% 0.194 344)
XYZxyz(22.5381, 12.1686, 22.9872)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2684 #26AF51
analogous
#9626AF #AF2684 #AF2640
triadic
#AF2684 #84AF26 #2684AF
tetradic
#AF2684 #AF9626 #26AF51 #2640AF
square
#AF2684 #AF9626 #26AF51 #2640AF
split-complementary
#AF2684 #40AF26 #26AF96
monochromatic
#4A1038 #7D1B5E #AF2684 #D53DA5 #E070BD

Accessibility & contrast

On white

6.12
#AF2684 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AF2684 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2684
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2684#FFFFFF#000000##FFFFFF
##AF26841.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375386
Deuteranopia (green-blind)
#626A81
Tritanopia (blue-blind)
#BB2553
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2684;
/* rgb */ color: rgb(175, 38, 132);
/* oklch */ color: oklch(52.1% 0.194 344.0);
Tailwind
colors: {
  custom: {
    50: '#cb70a8',
    500: '#af2684',
    950: '#000000',
  },
}
SCSS
$custom: #af2684;
$custom-light: #cb70a8;
$custom-dark: #000000;
JSON
{
  "hex": "#af2684",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 132
  },
  "hsl": {
    "h": 318.832,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52134,
    "c": 0.19417,
    "h": 344
  },
  "luminance": 0.12166
}

Semantic roles & 50–950 ramp

primary
#AF2684
secondary
#6AC787
accent
#E77540
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF2684

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

Preview Lab → · Contrast checker → · Palette generator →

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