#AF3457#AF3457

#AF3457 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.7% C 0.160 H 7.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AF3457
RGBrgb(175, 52, 87)
HSLhsl(343, 54%, 45%)
HSVhsv(343, 70%, 69%)
CMYKcmyk(0%, 70.3%, 50.3%, 31.4%)
CIE-LABlab(41.63, 52.09, 8.24)
CIE-LCHlch(41.63, 52.73, 8.99°)
OKLaboklab(51.74% 0.1586 0.0214)
OKLCHoklch(51.74% 0.16 7.7)
XYZxyz(20.6292, 12.2608, 10.2952)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3457 #34AF8C
analogous
#AF3495 #AF3457 #AF4F34
triadic
#AF3457 #57AF34 #3457AF
tetradic
#AF3457 #95AF34 #34AF8C #4F34AF
square
#AF3457 #95AF34 #34AF8C #4F34AF
split-complementary
#AF3457 #34AF4F #3495AF
monochromatic
#511828 #802640 #AF3457 #CC5476 #DA839C

Accessibility & contrast

On white

6.08
#AF3457 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AF3457 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3457
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3457#FFFFFF#000000##FFFFFF
##AF34571.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515358
Deuteranopia (green-blind)
#716B54
Tritanopia (blue-blind)
#BF1D42
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af3457;
/* rgb */ color: rgb(175, 52, 87);
/* oklch */ color: oklch(51.7% 0.160 7.7);
Tailwind
colors: {
  custom: {
    50: '#cc7486',
    500: '#af3457',
    950: '#000000',
  },
}
SCSS
$custom: #af3457;
$custom-light: #cc7486;
$custom-dark: #000000;
JSON
{
  "hex": "#af3457",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 87
  },
  "hsl": {
    "h": 342.927,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51737,
    "c": 0.16002,
    "h": 7.7
  },
  "luminance": 0.12258
}

Semantic roles & 50–950 ramp

primary
#AF3457
secondary
#7BC4AF
accent
#DEB44A
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AF3457

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

Preview Lab → · Contrast checker → · Palette generator →

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