#AF2685#AF2685

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

Color values

HEX#AF2685
RGBrgb(175, 38, 133)
HSLhsl(318, 64%, 42%)
HSVhsv(318, 78%, 69%)
CMYKcmyk(0%, 78.3%, 24%, 31.4%)
CIE-LABlab(41.53, 61.84, -20.53)
CIE-LCHlch(41.53, 65.15, 341.63°)
OKLaboklab(52.18% 0.1869 -0.0549)
OKLCHoklch(52.18% 0.195 343.6)
XYZxyz(22.6069, 12.1961, 23.3493)
Luminance0.1219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2685 #26AF50
analogous
#9526AF #AF2685 #AF2641
triadic
#AF2685 #85AF26 #2685AF
tetradic
#AF2685 #AF9526 #26AF50 #2641AF
square
#AF2685 #AF9526 #26AF50 #2641AF
split-complementary
#AF2685 #41AF26 #26AF95
monochromatic
#4A1039 #7D1B5F #AF2685 #D53DA6 #E070BD

Accessibility & contrast

On white

6.11
#AF2685 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2685
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2685#FFFFFF#000000##FFFFFF
##AF26851.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375487
Deuteranopia (green-blind)
#616A82
Tritanopia (blue-blind)
#BB2653
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2685;
/* rgb */ color: rgb(175, 38, 133);
/* oklch */ color: oklch(52.2% 0.195 343.6);
Tailwind
colors: {
  custom: {
    50: '#cb70a8',
    500: '#af2685',
    950: '#000000',
  },
}
SCSS
$custom: #af2685;
$custom-light: #cb70a8;
$custom-dark: #000000;
JSON
{
  "hex": "#af2685",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 133
  },
  "hsl": {
    "h": 318.394,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52179,
    "c": 0.19476,
    "h": 343.6
  },
  "luminance": 0.12194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2685

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

Preview Lab → · Contrast checker → · Palette generator →

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