#AF2688#AF2688

#AF2688 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.3% C 0.197 H 342.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AF2688
RGBrgb(175, 38, 136)
HSLhsl(317, 64%, 42%)
HSVhsv(317, 78%, 69%)
CMYKcmyk(0%, 78.3%, 22.3%, 31.4%)
CIE-LABlab(41.66, 62.22, -22.16)
CIE-LCHlch(41.66, 66.05, 340.39°)
OKLaboklab(52.32% 0.1874 -0.0595)
OKLCHoklch(52.32% 0.197 342.4)
XYZxyz(22.8171, 12.2802, 24.4565)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2688 #26AF4D
analogous
#9226AF #AF2688 #AF2644
triadic
#AF2688 #88AF26 #2688AF
tetradic
#AF2688 #AF9226 #26AF4D #2644AF
square
#AF2688 #AF9226 #26AF4D #2644AF
split-complementary
#AF2688 #44AF26 #26AF92
monochromatic
#4A103A #7D1B61 #AF2688 #D53DAA #E070C0

Accessibility & contrast

On white

6.08
#AF2688 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AF2688 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2688
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2688#FFFFFF#000000##FFFFFF
##AF26881.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35548B
Deuteranopia (green-blind)
#606A85
Tritanopia (blue-blind)
#BA2855
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2688;
/* rgb */ color: rgb(175, 38, 136);
/* oklch */ color: oklch(52.3% 0.197 342.4);
Tailwind
colors: {
  custom: {
    50: '#cb70ab',
    500: '#af2688',
    950: '#000000',
  },
}
SCSS
$custom: #af2688;
$custom-light: #cb70ab;
$custom-dark: #000000;
JSON
{
  "hex": "#af2688",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 136
  },
  "hsl": {
    "h": 317.08,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52317,
    "c": 0.19657,
    "h": 342.4
  },
  "luminance": 0.12278
}

Semantic roles & 50–950 ramp

primary
#AF2688
secondary
#6AC785
accent
#E77040
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AF2688

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

Preview Lab → · Contrast checker → · Palette generator →

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