#AF2868#AF2868

#AF2868 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.178 H 357.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AF2868
RGBrgb(175, 40, 104)
HSLhsl(332, 63%, 42%)
HSVhsv(332, 77%, 69%)
CMYKcmyk(0%, 77.1%, 40.6%, 31.4%)
CIE-LABlab(40.63, 57.89, -3.88)
CIE-LCHlch(40.63, 58.02, 356.17°)
OKLaboklab(51.16% 0.1779 -0.0095)
OKLCHoklch(51.16% 0.178 357)
XYZxyz(20.9382, 11.6337, 14.2370)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2868 #28AF6F
analogous
#AF28AB #AF2868 #AF2C28
triadic
#AF2868 #68AF28 #2868AF
tetradic
#AF2868 #ABAF28 #28AF6F #2C28AF
square
#AF2868 #ABAF28 #28AF6F #2C28AF
split-complementary
#AF2868 #28AF2C #28ABAF
monochromatic
#4B112D #7D1D4A #AF2868 #D44186 #DF73A6

Accessibility & contrast

On white

6.31
#AF2868 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AF2868 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2868
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2868#FFFFFF#000000##FFFFFF
##AF28681.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45506A
Deuteranopia (green-blind)
#6A6965
Tritanopia (blue-blind)
#BD1345
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2868;
/* rgb */ color: rgb(175, 40, 104);
/* oklch */ color: oklch(51.2% 0.178 357.0);
Tailwind
colors: {
  custom: {
    50: '#cc7093',
    500: '#af2868',
    950: '#000000',
  },
}
SCSS
$custom: #af2868;
$custom-light: #cc7093;
$custom-dark: #000000;
JSON
{
  "hex": "#af2868",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 104
  },
  "hsl": {
    "h": 331.556,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51163,
    "c": 0.17818,
    "h": 357
  },
  "luminance": 0.11631
}

Semantic roles & 50–950 ramp

primary
#AF2868
secondary
#6DC69C
accent
#E69842
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF2868

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

Preview Lab → · Contrast checker → · Palette generator →

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