#AF3156#AF3156

#AF3156 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.4% C 0.163 H 7.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AF3156
RGBrgb(175, 49, 86)
HSLhsl(342, 56%, 44%)
HSVhsv(342, 72%, 69%)
CMYKcmyk(0%, 72%, 50.9%, 31.4%)
CIE-LABlab(41.19, 53.13, 8.26)
CIE-LCHlch(41.19, 53.77, 8.83°)
OKLaboklab(51.41% 0.1618 0.0214)
OKLCHoklch(51.41% 0.163 7.5)
XYZxyz(20.4590, 11.9852, 10.0383)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3156 #31AF8A
analogous
#AF3195 #AF3156 #AF4B31
triadic
#AF3156 #56AF31 #3156AF
tetradic
#AF3156 #95AF31 #31AF8A #4B31AF
square
#AF3156 #95AF31 #31AF8A #4B31AF
split-complementary
#AF3156 #31AF4B #3195AF
monochromatic
#4F1627 #7F243F #AF3156 #CE4F75 #DB7F9A

Accessibility & contrast

On white

6.18
#AF3156 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AF3156 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3156
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3156#FFFFFF#000000##FFFFFF
##AF31561.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5157
Deuteranopia (green-blind)
#706A53
Tritanopia (blue-blind)
#BF1740
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af3156;
/* rgb */ color: rgb(175, 49, 86);
/* oklch */ color: oklch(51.4% 0.163 7.5);
Tailwind
colors: {
  custom: {
    50: '#cd7385',
    500: '#af3156',
    950: '#000000',
  },
}
SCSS
$custom: #af3156;
$custom-light: #cd7385;
$custom-dark: #000000;
JSON
{
  "hex": "#af3156",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 86
  },
  "hsl": {
    "h": 342.381,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51407,
    "c": 0.16325,
    "h": 7.5
  },
  "luminance": 0.11982
}

Semantic roles & 50–950 ramp

primary
#AF3156
secondary
#78C4AE
accent
#E0B348
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AF3156

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

Preview Lab → · Contrast checker → · Palette generator →

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