#AF2863#AF2863

#AF2863 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.176 H 359.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AF2863
RGBrgb(175, 40, 99)
HSLhsl(334, 63%, 42%)
HSVhsv(334, 77%, 69%)
CMYKcmyk(0%, 77.1%, 43.4%, 31.4%)
CIE-LABlab(40.47, 57.39, -0.97)
CIE-LCHlch(40.47, 57.40, 359.03°)
OKLaboklab(50.99% 0.1763 -0.0019)
OKLCHoklch(50.99% 0.176 359.4)
XYZxyz(20.6917, 11.5351, 12.9389)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2863 #28AF74
analogous
#AF28A7 #AF2863 #AF3128
triadic
#AF2863 #63AF28 #2863AF
tetradic
#AF2863 #A7AF28 #28AF74 #3128AF
square
#AF2863 #A7AF28 #28AF74 #3128AF
split-complementary
#AF2863 #28AF31 #28A7AF
monochromatic
#4B112B #7D1D47 #AF2863 #D44181 #DF73A2

Accessibility & contrast

On white

6.35
#AF2863 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2863
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2863#FFFFFF#000000##FFFFFF
##AF28631.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464F64
Deuteranopia (green-blind)
#6B6960
Tritanopia (blue-blind)
#BE0E42
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2863;
/* rgb */ color: rgb(175, 40, 99);
/* oklch */ color: oklch(51.0% 0.176 359.4);
Tailwind
colors: {
  custom: {
    50: '#cc6f8f',
    500: '#af2863',
    950: '#000000',
  },
}
SCSS
$custom: #af2863;
$custom-light: #cc6f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2863",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 99
  },
  "hsl": {
    "h": 333.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50993,
    "c": 0.17633,
    "h": 359.4
  },
  "luminance": 0.11532
}

Semantic roles & 50–950 ramp

primary
#AF2863
secondary
#6DC69F
accent
#E69E42
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2863

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

Preview Lab → · Contrast checker → · Palette generator →

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