#AF2D63#AF2D63

#AF2D63 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.171 H 0.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AF2D63
RGBrgb(175, 45, 99)
HSLhsl(335, 59%, 43%)
HSVhsv(335, 74%, 69%)
CMYKcmyk(0%, 74.3%, 43.4%, 31.4%)
CIE-LABlab(41.05, 55.76, -0.12)
CIE-LCHlch(41.05, 55.76, 359.88°)
OKLaboklab(51.42% 0.1711 0.0003)
OKLCHoklch(51.42% 0.171 0.1)
XYZxyz(20.8713, 11.8943, 12.9987)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D63 #2DAF79
analogous
#AF2DA4 #AF2D63 #AF382D
triadic
#AF2D63 #63AF2D #2D63AF
tetradic
#AF2D63 #A4AF2D #2DAF79 #382DAF
square
#AF2D63 #A4AF2D #2DAF79 #382DAF
split-complementary
#AF2D63 #2DAF38 #2DA4AF
monochromatic
#4E142C #7E2047 #AF2D63 #D04981 #DD7AA3

Accessibility & contrast

On white

6.22
#AF2D63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AF2D63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D63
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D63#FFFFFF#000000##FFFFFF
##AF2D631.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495164
Deuteranopia (green-blind)
#6D6A60
Tritanopia (blue-blind)
#BE1844
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2d63;
/* rgb */ color: rgb(175, 45, 99);
/* oklch */ color: oklch(51.4% 0.171 0.1);
Tailwind
colors: {
  custom: {
    50: '#cc718f',
    500: '#af2d63',
    950: '#000000',
  },
}
SCSS
$custom: #af2d63;
$custom-light: #cc718f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d63",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 335.077,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51419,
    "c": 0.17109,
    "h": 0.1
  },
  "luminance": 0.11892
}

Semantic roles & 50–950 ramp

primary
#AF2D63
secondary
#73C5A3
accent
#E2A146
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2D63

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

Preview Lab → · Contrast checker → · Palette generator →

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