#AF3159#AF3159

#AF3159 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.5% C 0.164 H 6.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AF3159
RGBrgb(175, 49, 89)
HSLhsl(341, 56%, 44%)
HSVhsv(341, 72%, 69%)
CMYKcmyk(0%, 72%, 49.1%, 31.4%)
CIE-LABlab(41.27, 53.40, 6.48)
CIE-LCHlch(41.27, 53.79, 6.92°)
OKLaboklab(51.49% 0.163 0.017)
OKLCHoklch(51.49% 0.164 6)
XYZxyz(20.5824, 12.0346, 10.6883)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3159 #31AF87
analogous
#AF3198 #AF3159 #AF4831
triadic
#AF3159 #59AF31 #3159AF
tetradic
#AF3159 #98AF31 #31AF87 #4831AF
square
#AF3159 #98AF31 #31AF87 #4831AF
split-complementary
#AF3159 #31AF48 #3198AF
monochromatic
#4F1628 #7F2441 #AF3159 #CE4F78 #DB7F9C

Accessibility & contrast

On white

6.16
#AF3159 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AF3159 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3159
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3159#FFFFFF#000000##FFFFFF
##AF31591.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E515A
Deuteranopia (green-blind)
#706A56
Tritanopia (blue-blind)
#BF1941
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af3159;
/* rgb */ color: rgb(175, 49, 89);
/* oklch */ color: oklch(51.5% 0.164 6.0);
Tailwind
colors: {
  custom: {
    50: '#cc7387',
    500: '#af3159',
    950: '#000000',
  },
}
SCSS
$custom: #af3159;
$custom-light: #cc7387;
$custom-dark: #000000;
JSON
{
  "hex": "#af3159",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 89
  },
  "hsl": {
    "h": 340.952,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5149,
    "c": 0.16386,
    "h": 6
  },
  "luminance": 0.12032
}

Semantic roles & 50–950 ramp

primary
#AF3159
secondary
#78C4AC
accent
#E0B048
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AF3159

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

Preview Lab → · Contrast checker → · Palette generator →

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