#AF2866#AF2866

#AF2866 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.177 H 357.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AF2866
RGBrgb(175, 40, 102)
HSLhsl(332, 63%, 42%)
HSVhsv(332, 77%, 69%)
CMYKcmyk(0%, 77.1%, 41.7%, 31.4%)
CIE-LABlab(40.56, 57.69, -2.72)
CIE-LCHlch(40.56, 57.75, 357.30°)
OKLaboklab(51.09% 0.1773 -0.0064)
OKLCHoklch(51.09% 0.177 357.9)
XYZxyz(20.8378, 11.5935, 13.7083)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2866 #28AF71
analogous
#AF28AA #AF2866 #AF2D28
triadic
#AF2866 #66AF28 #2866AF
tetradic
#AF2866 #AAAF28 #28AF71 #2D28AF
square
#AF2866 #AAAF28 #28AF71 #2D28AF
split-complementary
#AF2866 #28AF2D #28AAAF
monochromatic
#4B112C #7D1D49 #AF2866 #D44184 #DF73A4

Accessibility & contrast

On white

6.33
#AF2866 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AF2866 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2866
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2866#FFFFFF#000000##FFFFFF
##AF28661.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464F68
Deuteranopia (green-blind)
#6A6963
Tritanopia (blue-blind)
#BE1144
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2866;
/* rgb */ color: rgb(175, 40, 102);
/* oklch */ color: oklch(51.1% 0.177 357.9);
Tailwind
colors: {
  custom: {
    50: '#cc6f91',
    500: '#af2866',
    950: '#000000',
  },
}
SCSS
$custom: #af2866;
$custom-light: #cc6f91;
$custom-dark: #000000;
JSON
{
  "hex": "#af2866",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 332.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51094,
    "c": 0.17742,
    "h": 357.9
  },
  "luminance": 0.11591
}

Semantic roles & 50–950 ramp

primary
#AF2866
secondary
#6DC69D
accent
#E69B42
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2866

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

Preview Lab → · Contrast checker → · Palette generator →

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