#AF3255#AF3255

#AF3255 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.5% C 0.162 H 8.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AF3255
RGBrgb(175, 50, 85)
HSLhsl(343, 56%, 44%)
HSVhsv(343, 71%, 69%)
CMYKcmyk(0%, 71.4%, 51.4%, 31.4%)
CIE-LABlab(41.30, 52.67, 9.04)
CIE-LCHlch(41.30, 53.44, 9.74°)
OKLaboklab(51.48% 0.1603 0.0233)
OKLCHoklch(51.48% 0.162 8.3)
XYZxyz(20.4613, 12.0538, 9.8417)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3255 #32AF8C
analogous
#AF3294 #AF3255 #AF4E32
triadic
#AF3255 #55AF32 #3255AF
tetradic
#AF3255 #94AF32 #32AF8C #4E32AF
square
#AF3255 #94AF32 #32AF8C #4E32AF
split-complementary
#AF3255 #32AF4E #3294AF
monochromatic
#501727 #7F243E #AF3255 #CD5174 #DB819A

Accessibility & contrast

On white

6.16
#AF3255 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AF3255 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3255
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3255#FFFFFF#000000##FFFFFF
##AF32551.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505156
Deuteranopia (green-blind)
#716B52
Tritanopia (blue-blind)
#BF1940
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af3255;
/* rgb */ color: rgb(175, 50, 85);
/* oklch */ color: oklch(51.5% 0.162 8.3);
Tailwind
colors: {
  custom: {
    50: '#cd7384',
    500: '#af3255',
    950: '#000000',
  },
}
SCSS
$custom: #af3255;
$custom-light: #cd7384;
$custom-dark: #000000;
JSON
{
  "hex": "#af3255",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 85
  },
  "hsl": {
    "h": 343.2,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51479,
    "c": 0.16194,
    "h": 8.3
  },
  "luminance": 0.12051
}

Semantic roles & 50–950 ramp

primary
#AF3255
secondary
#79C4AF
accent
#DFB549
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090A
muted
#837B7C

Preview Lab

Preview with #AF3255

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

Preview Lab → · Contrast checker → · Palette generator →

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