#AF3256#AF3256

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

Color values

HEX#AF3256
RGBrgb(175, 50, 86)
HSLhsl(343, 56%, 44%)
HSVhsv(343, 71%, 69%)
CMYKcmyk(0%, 71.4%, 50.9%, 31.4%)
CIE-LABlab(41.33, 52.76, 8.45)
CIE-LCHlch(41.33, 53.43, 9.10°)
OKLaboklab(51.51% 0.1606 0.0219)
OKLCHoklch(51.51% 0.162 7.7)
XYZxyz(20.5013, 12.0698, 10.0524)
Luminance0.1207 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3256 #32AF8B
analogous
#AF3295 #AF3256 #AF4D32
triadic
#AF3256 #56AF32 #3256AF
tetradic
#AF3256 #95AF32 #32AF8B #4D32AF
square
#AF3256 #95AF32 #32AF8B #4D32AF
split-complementary
#AF3256 #32AF4D #3295AF
monochromatic
#501727 #7F243F #AF3256 #CD5175 #DB819B

Accessibility & contrast

On white

6.15
#AF3256 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3256
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3256#FFFFFF#000000##FFFFFF
##AF32561.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505257
Deuteranopia (green-blind)
#716B53
Tritanopia (blue-blind)
#BF1941
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af3256;
/* rgb */ color: rgb(175, 50, 86);
/* oklch */ color: oklch(51.5% 0.162 7.7);
Tailwind
colors: {
  custom: {
    50: '#cd7385',
    500: '#af3256',
    950: '#000000',
  },
}
SCSS
$custom: #af3256;
$custom-light: #cd7385;
$custom-dark: #000000;
JSON
{
  "hex": "#af3256",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 86
  },
  "hsl": {
    "h": 342.72,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51506,
    "c": 0.16212,
    "h": 7.7
  },
  "luminance": 0.12067
}

Semantic roles & 50–950 ramp

primary
#AF3256
secondary
#79C4AE
accent
#DFB449
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AF3256

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

Preview Lab → · Contrast checker → · Palette generator →

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