#AF2687#AF2687

#AF2687 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.3% C 0.196 H 342.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AF2687
RGBrgb(175, 38, 135)
HSLhsl(318, 64%, 42%)
HSVhsv(318, 78%, 69%)
CMYKcmyk(0%, 78.3%, 22.9%, 31.4%)
CIE-LABlab(41.61, 62.09, -21.62)
CIE-LCHlch(41.61, 65.75, 340.80°)
OKLaboklab(52.27% 0.1872 -0.058)
OKLCHoklch(52.27% 0.196 342.8)
XYZxyz(22.7463, 12.2519, 24.0839)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2687 #26AF4E
analogous
#9326AF #AF2687 #AF2643
triadic
#AF2687 #87AF26 #2687AF
tetradic
#AF2687 #AF9326 #26AF4E #2643AF
square
#AF2687 #AF9326 #26AF4E #2643AF
split-complementary
#AF2687 #43AF26 #26AF93
monochromatic
#4A1039 #7D1B60 #AF2687 #D53DA9 #E070BF

Accessibility & contrast

On white

6.09
#AF2687 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AF2687 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2687
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2687#FFFFFF#000000##FFFFFF
##AF26871.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35548A
Deuteranopia (green-blind)
#616A84
Tritanopia (blue-blind)
#BA2754
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2687;
/* rgb */ color: rgb(175, 38, 135);
/* oklch */ color: oklch(52.3% 0.196 342.8);
Tailwind
colors: {
  custom: {
    50: '#cb70aa',
    500: '#af2687',
    950: '#000000',
  },
}
SCSS
$custom: #af2687;
$custom-light: #cb70aa;
$custom-dark: #000000;
JSON
{
  "hex": "#af2687",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 317.518,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52271,
    "c": 0.19596,
    "h": 342.8
  },
  "luminance": 0.12249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2687

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

Preview Lab → · Contrast checker → · Palette generator →

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