#AF3254#AF3254

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

Color values

HEX#AF3254
RGBrgb(175, 50, 84)
HSLhsl(344, 56%, 44%)
HSVhsv(344, 71%, 69%)
CMYKcmyk(0%, 71.4%, 52%, 31.4%)
CIE-LABlab(41.28, 52.59, 9.63)
CIE-LCHlch(41.28, 53.46, 10.38°)
OKLaboklab(51.45% 0.1599 0.0247)
OKLCHoklch(51.45% 0.162 8.8)
XYZxyz(20.4218, 12.0380, 9.6340)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3254 #32AF8D
analogous
#AF3293 #AF3254 #AF4F32
triadic
#AF3254 #54AF32 #3254AF
tetradic
#AF3254 #93AF32 #32AF8D #4F32AF
square
#AF3254 #93AF32 #32AF8D #4F32AF
split-complementary
#AF3254 #32AF4F #3293AF
monochromatic
#501726 #7F243D #AF3254 #CD5173 #DB8199

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3254#FFFFFF#000000##FFFFFF
##AF32541.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)
#505155
Deuteranopia (green-blind)
#716B51
Tritanopia (blue-blind)
#BF1840
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af3254;
/* rgb */ color: rgb(175, 50, 84);
/* oklch */ color: oklch(51.5% 0.162 8.8);
Tailwind
colors: {
  custom: {
    50: '#cd7383',
    500: '#af3254',
    950: '#000000',
  },
}
SCSS
$custom: #af3254;
$custom-light: #cd7383;
$custom-dark: #000000;
JSON
{
  "hex": "#af3254",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 84
  },
  "hsl": {
    "h": 343.68,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51452,
    "c": 0.16178,
    "h": 8.8
  },
  "luminance": 0.12035
}

Semantic roles & 50–950 ramp

primary
#AF3254
secondary
#79C4B0
accent
#DFB649
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090A
muted
#837B7C

Preview Lab

Preview with #AF3254

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

Preview Lab → · Contrast checker → · Palette generator →

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