#AF3160#AF3160

#AF3160 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.7% C 0.166 H 2.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AF3160
RGBrgb(175, 49, 96)
HSLhsl(338, 56%, 44%)
HSVhsv(338, 72%, 69%)
CMYKcmyk(0%, 72%, 45.1%, 31.4%)
CIE-LABlab(41.47, 54.05, 2.37)
CIE-LCHlch(41.47, 54.10, 2.51°)
OKLaboklab(51.7% 0.1655 0.0067)
OKLCHoklch(51.7% 0.166 2.3)
XYZxyz(20.8904, 12.1578, 12.3107)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3160 #31AF80
analogous
#AF319F #AF3160 #AF4131
triadic
#AF3160 #60AF31 #3160AF
tetradic
#AF3160 #9FAF31 #31AF80 #4131AF
square
#AF3160 #9FAF31 #31AF80 #4131AF
split-complementary
#AF3160 #31AF41 #319FAF
monochromatic
#4F162C #7F2446 #AF3160 #CE4F7F #DB7FA2

Accessibility & contrast

On white

6.12
#AF3160 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AF3160 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3160
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3160#FFFFFF#000000##FFFFFF
##AF31601.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5261
Deuteranopia (green-blind)
#6E6B5D
Tritanopia (blue-blind)
#BE1D45
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af3160;
/* rgb */ color: rgb(175, 49, 96);
/* oklch */ color: oklch(51.7% 0.166 2.3);
Tailwind
colors: {
  custom: {
    50: '#cc738d',
    500: '#af3160',
    950: '#000000',
  },
}
SCSS
$custom: #af3160;
$custom-light: #cc738d;
$custom-dark: #000000;
JSON
{
  "hex": "#af3160",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 96
  },
  "hsl": {
    "h": 337.619,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51698,
    "c": 0.16566,
    "h": 2.3
  },
  "luminance": 0.12155
}

Semantic roles & 50–950 ramp

primary
#AF3160
secondary
#78C4A8
accent
#E0A748
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF3160

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

Preview Lab → · Contrast checker → · Palette generator →

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