#AF2864#AF2864

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

Color values

HEX#AF2864
RGBrgb(175, 40, 100)
HSLhsl(333, 63%, 42%)
HSVhsv(333, 77%, 69%)
CMYKcmyk(0%, 77.1%, 42.9%, 31.4%)
CIE-LABlab(40.50, 57.49, -1.55)
CIE-LCHlch(40.50, 57.51, 358.45°)
OKLaboklab(51.03% 0.1767 -0.0034)
OKLCHoklch(51.03% 0.177 358.9)
XYZxyz(20.7398, 11.5543, 13.1922)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2864 #28AF73
analogous
#AF28A8 #AF2864 #AF2F28
triadic
#AF2864 #64AF28 #2864AF
tetradic
#AF2864 #A8AF28 #28AF73 #2F28AF
square
#AF2864 #A8AF28 #28AF73 #2F28AF
split-complementary
#AF2864 #28AF2F #28A8AF
monochromatic
#4B112B #7D1D48 #AF2864 #D44182 #DF73A3

Accessibility & contrast

On white

6.34
#AF2864 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AF2864 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2864
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2864#FFFFFF#000000##FFFFFF
##AF28641.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464F65
Deuteranopia (green-blind)
#6B6961
Tritanopia (blue-blind)
#BE0F43
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2864;
/* rgb */ color: rgb(175, 40, 100);
/* oklch */ color: oklch(51.0% 0.177 358.9);
Tailwind
colors: {
  custom: {
    50: '#cc6f90',
    500: '#af2864',
    950: '#000000',
  },
}
SCSS
$custom: #af2864;
$custom-light: #cc6f90;
$custom-dark: #000000;
JSON
{
  "hex": "#af2864",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 100
  },
  "hsl": {
    "h": 333.333,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51026,
    "c": 0.17668,
    "h": 358.9
  },
  "luminance": 0.11552
}

Semantic roles & 50–950 ramp

primary
#AF2864
secondary
#6DC69E
accent
#E69D42
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2864

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

Preview Lab → · Contrast checker → · Palette generator →

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