#AF2686#AF2686

#AF2686 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.2% C 0.195 H 343.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AF2686
RGBrgb(175, 38, 134)
HSLhsl(318, 64%, 42%)
HSVhsv(318, 78%, 69%)
CMYKcmyk(0%, 78.3%, 23.4%, 31.4%)
CIE-LABlab(41.57, 61.96, -21.07)
CIE-LCHlch(41.57, 65.45, 341.22°)
OKLaboklab(52.23% 0.187 -0.0564)
OKLCHoklch(52.23% 0.195 343.2)
XYZxyz(22.6763, 12.2239, 23.7149)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2686 #26AF4F
analogous
#9426AF #AF2686 #AF2642
triadic
#AF2686 #86AF26 #2686AF
tetradic
#AF2686 #AF9426 #26AF4F #2642AF
square
#AF2686 #AF9426 #26AF4F #2642AF
split-complementary
#AF2686 #42AF26 #26AF94
monochromatic
#4A1039 #7D1B5F #AF2686 #D53DA8 #E070BE

Accessibility & contrast

On white

6.10
#AF2686 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AF2686 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2686
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2686#FFFFFF#000000##FFFFFF
##AF26861.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365489
Deuteranopia (green-blind)
#616A83
Tritanopia (blue-blind)
#BB2654
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2686;
/* rgb */ color: rgb(175, 38, 134);
/* oklch */ color: oklch(52.2% 0.195 343.2);
Tailwind
colors: {
  custom: {
    50: '#cb70a9',
    500: '#af2686',
    950: '#000000',
  },
}
SCSS
$custom: #af2686;
$custom-light: #cb70a9;
$custom-dark: #000000;
JSON
{
  "hex": "#af2686",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 317.956,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52225,
    "c": 0.19536,
    "h": 343.2
  },
  "luminance": 0.12221
}

Semantic roles & 50–950 ramp

primary
#AF2686
secondary
#6AC786
accent
#E77240
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AF2686

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

Preview Lab → · Contrast checker → · Palette generator →

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