#AF3155#AF3155

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

Color values

HEX#AF3155
RGBrgb(175, 49, 85)
HSLhsl(343, 56%, 44%)
HSVhsv(343, 72%, 69%)
CMYKcmyk(0%, 72%, 51.4%, 31.4%)
CIE-LABlab(41.17, 53.05, 8.85)
CIE-LCHlch(41.17, 53.78, 9.47°)
OKLaboklab(51.38% 0.1615 0.0228)
OKLCHoklch(51.38% 0.163 8)
XYZxyz(20.4190, 11.9692, 9.8276)
Luminance0.1197 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3155 #31AF8B
analogous
#AF3194 #AF3155 #AF4C31
triadic
#AF3155 #55AF31 #3155AF
tetradic
#AF3155 #94AF31 #31AF8B #4C31AF
square
#AF3155 #94AF31 #31AF8B #4C31AF
split-complementary
#AF3155 #31AF4C #3194AF
monochromatic
#4F1627 #7F243E #AF3155 #CE4F74 #DB7F99

Accessibility & contrast

On white

6.19
#AF3155 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AF3155 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3155
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3155#FFFFFF#000000##FFFFFF
##AF31551.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af3155;
/* rgb */ color: rgb(175, 49, 85);
/* oklch */ color: oklch(51.4% 0.163 8.0);
Tailwind
colors: {
  custom: {
    50: '#cd7384',
    500: '#af3155',
    950: '#000000',
  },
}
SCSS
$custom: #af3155;
$custom-light: #cd7384;
$custom-dark: #000000;
JSON
{
  "hex": "#af3155",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 85
  },
  "hsl": {
    "h": 342.857,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5138,
    "c": 0.16306,
    "h": 8
  },
  "luminance": 0.11966
}

Semantic roles & 50–950 ramp

primary
#AF3155
secondary
#78C4AE
accent
#E0B448
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090A
muted
#837B7C

Preview Lab

Preview with #AF3155

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

Preview Lab → · Contrast checker → · Palette generator →

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