#AF3052#AF3052

#AF3052 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.2% C 0.164 H 9.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AF3052
RGBrgb(175, 48, 82)
HSLhsl(344, 57%, 44%)
HSVhsv(344, 73%, 69%)
CMYKcmyk(0%, 72.6%, 53.1%, 31.4%)
CIE-LABlab(40.96, 53.16, 10.45)
CIE-LCHlch(40.96, 54.18, 11.12°)
OKLaboklab(51.2% 0.1615 0.0267)
OKLCHoklch(51.2% 0.164 9.4)
XYZxyz(20.2610, 11.8398, 9.1994)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3052 #30AF8D
analogous
#AF3091 #AF3052 #AF4D30
triadic
#AF3052 #52AF30 #3052AF
tetradic
#AF3052 #91AF30 #30AF8D #4D30AF
square
#AF3052 #91AF30 #30AF8D #4D30AF
split-complementary
#AF3052 #30AF4D #3091AF
monochromatic
#4F1625 #7F233B #AF3052 #CE4E70 #DC7E97

Accessibility & contrast

On white

6.24
#AF3052 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AF3052 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3052
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3052#FFFFFF#000000##FFFFFF
##AF30521.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5053
Deuteranopia (green-blind)
#716A4F
Tritanopia (blue-blind)
#BF133E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af3052;
/* rgb */ color: rgb(175, 48, 82);
/* oklch */ color: oklch(51.2% 0.164 9.4);
Tailwind
colors: {
  custom: {
    50: '#cd7282',
    500: '#af3052',
    950: '#000000',
  },
}
SCSS
$custom: #af3052;
$custom-light: #cd7282;
$custom-dark: #000000;
JSON
{
  "hex": "#af3052",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 82
  },
  "hsl": {
    "h": 343.937,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51202,
    "c": 0.16366,
    "h": 9.4
  },
  "luminance": 0.11837
}

Semantic roles & 50–950 ramp

primary
#AF3052
secondary
#76C4AF
accent
#E0B748
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #AF3052

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

Preview Lab → · Contrast checker → · Palette generator →

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