#AF2856#AF2856

#AF2856 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.173 H 5.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#AF2856
RGBrgb(175, 40, 86)
HSLhsl(340, 63%, 42%)
HSVhsv(340, 77%, 69%)
CMYKcmyk(0%, 77.1%, 50.9%, 31.4%)
CIE-LABlab(40.09, 56.21, 6.70)
CIE-LCHlch(40.09, 56.61, 6.80°)
OKLaboklab(50.59% 0.1717 0.0175)
OKLCHoklch(50.59% 0.173 5.8)
XYZxyz(20.1195, 11.3062, 9.9252)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2856 #28AF81
analogous
#AF2899 #AF2856 #AF3E28
triadic
#AF2856 #56AF28 #2856AF
tetradic
#AF2856 #99AF28 #28AF81 #3E28AF
square
#AF2856 #99AF28 #28AF81 #3E28AF
split-complementary
#AF2856 #28AF3E #2899AF
monochromatic
#4B1125 #7D1D3E #AF2856 #D44173 #DF7397

Accessibility & contrast

On white

6.44
#AF2856 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#AF2856 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2856
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2856#FFFFFF#000000##FFFFFF
##AF28561.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4D57
Deuteranopia (green-blind)
#6E6853
Tritanopia (blue-blind)
#BF003C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2856;
/* rgb */ color: rgb(175, 40, 86);
/* oklch */ color: oklch(50.6% 0.173 5.8);
Tailwind
colors: {
  custom: {
    50: '#cd6f85',
    500: '#af2856',
    950: '#000000',
  },
}
SCSS
$custom: #af2856;
$custom-light: #cd6f85;
$custom-dark: #000000;
JSON
{
  "hex": "#af2856",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 86
  },
  "hsl": {
    "h": 339.556,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50594,
    "c": 0.17263,
    "h": 5.8
  },
  "luminance": 0.11303
}

Semantic roles & 50–950 ramp

primary
#AF2856
secondary
#6DC6A8
accent
#E6AE42
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF2856

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

Preview Lab → · Contrast checker → · Palette generator →

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