#AF2681#AF2681

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

Color values

HEX#AF2681
RGBrgb(175, 38, 129)
HSLhsl(320, 64%, 42%)
HSVhsv(320, 78%, 69%)
CMYKcmyk(0%, 78.3%, 26.3%, 31.4%)
CIE-LABlab(41.35, 61.33, -18.33)
CIE-LCHlch(41.35, 64.01, 343.36°)
OKLaboklab(52% 0.1861 -0.0487)
OKLCHoklch(52% 0.192 345.3)
XYZxyz(22.3358, 12.0876, 21.9215)
Luminance0.1208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2681 #26AF54
analogous
#9926AF #AF2681 #AF263D
triadic
#AF2681 #81AF26 #2681AF
tetradic
#AF2681 #AF9926 #26AF54 #263DAF
square
#AF2681 #AF9926 #26AF54 #263DAF
split-complementary
#AF2681 #3DAF26 #26AF99
monochromatic
#4A1037 #7D1B5C #AF2681 #D53DA2 #E070BA

Accessibility & contrast

On white

6.15
#AF2681 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2681
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2681#FFFFFF#000000##FFFFFF
##AF26811.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395383
Deuteranopia (green-blind)
#636A7E
Tritanopia (blue-blind)
#BB2351
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2681;
/* rgb */ color: rgb(175, 38, 129);
/* oklch */ color: oklch(52.0% 0.192 345.3);
Tailwind
colors: {
  custom: {
    50: '#cb70a5',
    500: '#af2681',
    950: '#000000',
  },
}
SCSS
$custom: #af2681;
$custom-light: #cb70a5;
$custom-dark: #000000;
JSON
{
  "hex": "#af2681",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 129
  },
  "hsl": {
    "h": 320.146,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51999,
    "c": 0.19242,
    "h": 345.3
  },
  "luminance": 0.12085
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2681

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

Preview Lab → · Contrast checker → · Palette generator →

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