#AF345C#AF345C

#AF345C is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.9% C 0.161 H 5.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AF345C
RGBrgb(175, 52, 92)
HSLhsl(340, 54%, 45%)
HSVhsv(340, 70%, 69%)
CMYKcmyk(0%, 70.3%, 47.4%, 31.4%)
CIE-LABlab(41.76, 52.54, 5.30)
CIE-LCHlch(41.76, 52.81, 5.76°)
OKLaboklab(51.88% 0.1605 0.0141)
OKLCHoklch(51.88% 0.161 5)
XYZxyz(20.8406, 12.3453, 11.4086)
Luminance0.1234 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF345C #34AF87
analogous
#AF349A #AF345C #AF4A34
triadic
#AF345C #5CAF34 #345CAF
tetradic
#AF345C #9AAF34 #34AF87 #4A34AF
square
#AF345C #9AAF34 #34AF87 #4A34AF
split-complementary
#AF345C #34AF4A #349AAF
monochromatic
#51182A #802643 #AF345C #CC547B #DA839F

Accessibility & contrast

On white

6.05
#AF345C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AF345C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF345C
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF345C#FFFFFF#000000##FFFFFF
##AF345C1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50535D
Deuteranopia (green-blind)
#706B59
Tritanopia (blue-blind)
#BE2044
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af345c;
/* rgb */ color: rgb(175, 52, 92);
/* oklch */ color: oklch(51.9% 0.161 5.0);
Tailwind
colors: {
  custom: {
    50: '#cc7489',
    500: '#af345c',
    950: '#000000',
  },
}
SCSS
$custom: #af345c;
$custom-light: #cc7489;
$custom-dark: #000000;
JSON
{
  "hex": "#af345c",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 92
  },
  "hsl": {
    "h": 340.488,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51878,
    "c": 0.16109,
    "h": 5
  },
  "luminance": 0.12343
}

Semantic roles & 50–950 ramp

primary
#AF345C
secondary
#7BC4AC
accent
#DEAE4A
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AF345C

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

Preview Lab → · Contrast checker → · Palette generator →

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