#AF3056#AF3056

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

Color values

HEX#AF3056
RGBrgb(175, 48, 86)
HSLhsl(342, 57%, 44%)
HSVhsv(342, 73%, 69%)
CMYKcmyk(0%, 72.6%, 50.9%, 31.4%)
CIE-LABlab(41.06, 53.50, 8.07)
CIE-LCHlch(41.06, 54.10, 8.58°)
OKLaboklab(51.31% 0.163 0.0209)
OKLCHoklch(51.31% 0.164 7.3)
XYZxyz(20.4176, 11.9025, 10.0246)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3056 #30AF89
analogous
#AF3095 #AF3056 #AF4930
triadic
#AF3056 #56AF30 #3056AF
tetradic
#AF3056 #95AF30 #30AF89 #4930AF
square
#AF3056 #95AF30 #30AF89 #4930AF
split-complementary
#AF3056 #30AF49 #3095AF
monochromatic
#4F1627 #7F233E #AF3056 #CE4E74 #DC7E9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3056#FFFFFF#000000##FFFFFF
##AF30561.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)
#4F5157
Deuteranopia (green-blind)
#706A53
Tritanopia (blue-blind)
#BF1540
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af3056;
/* rgb */ color: rgb(175, 48, 86);
/* oklch */ color: oklch(51.3% 0.164 7.3);
Tailwind
colors: {
  custom: {
    50: '#cd7285',
    500: '#af3056',
    950: '#000000',
  },
}
SCSS
$custom: #af3056;
$custom-light: #cd7285;
$custom-dark: #000000;
JSON
{
  "hex": "#af3056",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 86
  },
  "hsl": {
    "h": 342.047,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51309,
    "c": 0.16435,
    "h": 7.3
  },
  "luminance": 0.119
}

Semantic roles & 50–950 ramp

primary
#AF3056
secondary
#76C4AD
accent
#E0B348
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #AF3056

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

Preview Lab → · Contrast checker → · Palette generator →

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