#AF3163#AF3163

#AF3163 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.8% C 0.167 H 0.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AF3163
RGBrgb(175, 49, 99)
HSLhsl(336, 56%, 44%)
HSVhsv(336, 72%, 69%)
CMYKcmyk(0%, 72%, 43.4%, 31.4%)
CIE-LABlab(41.55, 54.34, 0.62)
CIE-LCHlch(41.55, 54.35, 0.65°)
OKLaboklab(51.79% 0.1666 0.0022)
OKLCHoklch(51.79% 0.167 0.8)
XYZxyz(21.0312, 12.2141, 13.0520)
Luminance0.1221 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3163 #31AF7D
analogous
#AF31A2 #AF3163 #AF3E31
triadic
#AF3163 #63AF31 #3163AF
tetradic
#AF3163 #A2AF31 #31AF7D #3E31AF
square
#AF3163 #A2AF31 #31AF7D #3E31AF
split-complementary
#AF3163 #31AF3E #31A2AF
monochromatic
#4F162D #7F2448 #AF3163 #CE4F82 #DB7FA4

Accessibility & contrast

On white

6.10
#AF3163 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AF3163 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3163
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3163#FFFFFF#000000##FFFFFF
##AF31631.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5364
Deuteranopia (green-blind)
#6E6B60
Tritanopia (blue-blind)
#BE1F46
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af3163;
/* rgb */ color: rgb(175, 49, 99);
/* oklch */ color: oklch(51.8% 0.167 0.8);
Tailwind
colors: {
  custom: {
    50: '#cc738f',
    500: '#af3163',
    950: '#000000',
  },
}
SCSS
$custom: #af3163;
$custom-light: #cc738f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3163",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 99
  },
  "hsl": {
    "h": 336.19,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51792,
    "c": 0.16658,
    "h": 0.8
  },
  "luminance": 0.12211
}

Semantic roles & 50–950 ramp

primary
#AF3163
secondary
#78C4A6
accent
#E0A448
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF3163

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

Preview Lab → · Contrast checker → · Palette generator →

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