#AF2855#AF2855

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

Color values

HEX#AF2855
RGBrgb(175, 40, 85)
HSLhsl(340, 63%, 42%)
HSVhsv(340, 77%, 69%)
CMYKcmyk(0%, 77.1%, 51.4%, 31.4%)
CIE-LABlab(40.06, 56.13, 7.30)
CIE-LCHlch(40.06, 56.60, 7.41°)
OKLaboklab(50.57% 0.1714 0.019)
OKLCHoklch(50.57% 0.172 6.3)
XYZxyz(20.0795, 11.2902, 9.7145)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2855 #28AF82
analogous
#AF2899 #AF2855 #AF3E28
triadic
#AF2855 #55AF28 #2855AF
tetradic
#AF2855 #99AF28 #28AF82 #3E28AF
square
#AF2855 #99AF28 #28AF82 #3E28AF
split-complementary
#AF2855 #28AF3E #2899AF
monochromatic
#4B1125 #7D1D3D #AF2855 #D44172 #DF7397

Accessibility & contrast

On white

6.45
#AF2855 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2855
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2855#FFFFFF#000000##FFFFFF
##AF28551.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4D56
Deuteranopia (green-blind)
#6E6852
Tritanopia (blue-blind)
#BF003B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2855;
/* rgb */ color: rgb(175, 40, 85);
/* oklch */ color: oklch(50.6% 0.172 6.3);
Tailwind
colors: {
  custom: {
    50: '#cd6f84',
    500: '#af2855',
    950: '#000000',
  },
}
SCSS
$custom: #af2855;
$custom-light: #cd6f84;
$custom-dark: #000000;
JSON
{
  "hex": "#af2855",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 85
  },
  "hsl": {
    "h": 340,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50565,
    "c": 0.17241,
    "h": 6.3
  },
  "luminance": 0.11287
}

Semantic roles & 50–950 ramp

primary
#AF2855
secondary
#6DC6A8
accent
#E6AF42
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2855

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

Preview Lab → · Contrast checker → · Palette generator →

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