#AF3152#AF3152

#AF3152 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.3% C 0.163 H 9.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AF3152
RGBrgb(175, 49, 82)
HSLhsl(344, 56%, 44%)
HSVhsv(344, 72%, 69%)
CMYKcmyk(0%, 72%, 53.1%, 31.4%)
CIE-LABlab(41.09, 52.80, 10.63)
CIE-LCHlch(41.09, 53.86, 11.39°)
OKLaboklab(51.3% 0.1603 0.0271)
OKLCHoklch(51.3% 0.163 9.6)
XYZxyz(20.3023, 11.9225, 9.2132)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3152 #31AF8E
analogous
#AF3191 #AF3152 #AF4F31
triadic
#AF3152 #52AF31 #3152AF
tetradic
#AF3152 #91AF31 #31AF8E #4F31AF
square
#AF3152 #91AF31 #31AF8E #4F31AF
split-complementary
#AF3152 #31AF4F #3191AF
monochromatic
#4F1625 #7F243C #AF3152 #CE4F70 #DB7F97

Accessibility & contrast

On white

6.21
#AF3152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AF3152 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3152
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3152#FFFFFF#000000##FFFFFF
##AF31521.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505153
Deuteranopia (green-blind)
#716A4F
Tritanopia (blue-blind)
#BF153E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af3152;
/* rgb */ color: rgb(175, 49, 82);
/* oklch */ color: oklch(51.3% 0.163 9.6);
Tailwind
colors: {
  custom: {
    50: '#cd7382',
    500: '#af3152',
    950: '#000000',
  },
}
SCSS
$custom: #af3152;
$custom-light: #cd7382;
$custom-dark: #000000;
JSON
{
  "hex": "#af3152",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 82
  },
  "hsl": {
    "h": 344.286,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.513,
    "c": 0.16258,
    "h": 9.6
  },
  "luminance": 0.1192
}

Semantic roles & 50–950 ramp

primary
#AF3152
secondary
#78C4B0
accent
#E0B848
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #AF3152

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

Preview Lab → · Contrast checker → · Palette generator →

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