#AF2682#AF2682

#AF2682 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.0% C 0.193 H 344.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AF2682
RGBrgb(175, 38, 130)
HSLhsl(320, 64%, 42%)
HSVhsv(320, 78%, 69%)
CMYKcmyk(0%, 78.3%, 25.7%, 31.4%)
CIE-LABlab(41.40, 61.45, -18.88)
CIE-LCHlch(41.40, 64.29, 342.92°)
OKLaboklab(52.04% 0.1863 -0.0503)
OKLCHoklch(52.04% 0.193 344.9)
XYZxyz(22.4026, 12.1144, 22.2733)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2682 #26AF53
analogous
#9826AF #AF2682 #AF263E
triadic
#AF2682 #82AF26 #2682AF
tetradic
#AF2682 #AF9826 #26AF53 #263EAF
square
#AF2682 #AF9826 #26AF53 #263EAF
split-complementary
#AF2682 #3EAF26 #26AF98
monochromatic
#4A1037 #7D1B5D #AF2682 #D53DA3 #E070BB

Accessibility & contrast

On white

6.14
#AF2682 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AF2682 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2682
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2682#FFFFFF#000000##FFFFFF
##AF26821.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385384
Deuteranopia (green-blind)
#626A7F
Tritanopia (blue-blind)
#BB2451
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2682;
/* rgb */ color: rgb(175, 38, 130);
/* oklch */ color: oklch(52.0% 0.193 344.9);
Tailwind
colors: {
  custom: {
    50: '#cb70a6',
    500: '#af2682',
    950: '#000000',
  },
}
SCSS
$custom: #af2682;
$custom-light: #cb70a6;
$custom-dark: #000000;
JSON
{
  "hex": "#af2682",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 130
  },
  "hsl": {
    "h": 319.708,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52044,
    "c": 0.19299,
    "h": 344.9
  },
  "luminance": 0.12112
}

Semantic roles & 50–950 ramp

primary
#AF2682
secondary
#6AC789
accent
#E77740
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF2682

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

Preview Lab → · Contrast checker → · Palette generator →

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