#AF346D#AF346D

#AF346D is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.4% C 0.167 H 356.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AF346D
RGBrgb(175, 52, 109)
HSLhsl(332, 54%, 45%)
HSVhsv(332, 70%, 69%)
CMYKcmyk(0%, 70.3%, 37.7%, 31.4%)
CIE-LABlab(42.27, 54.28, -4.56)
CIE-LCHlch(42.27, 54.47, 355.19°)
OKLaboklab(52.42% 0.1663 -0.0113)
OKLCHoklch(52.42% 0.167 356.1)
XYZxyz(21.6689, 12.6766, 15.7708)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF346D #34AF76
analogous
#AF34AB #AF346D #AF3934
triadic
#AF346D #6DAF34 #346DAF
tetradic
#AF346D #ABAF34 #34AF76 #3934AF
square
#AF346D #ABAF34 #34AF76 #3934AF
split-complementary
#AF346D #34AF39 #34ABAF
monochromatic
#511832 #802650 #AF346D #CC548C #DA83AC

Accessibility & contrast

On white

5.94
#AF346D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AF346D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF346D
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF346D#FFFFFF#000000##FFFFFF
##AF346D1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B556F
Deuteranopia (green-blind)
#6D6C6A
Tritanopia (blue-blind)
#BD284C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af346d;
/* rgb */ color: rgb(175, 52, 109);
/* oklch */ color: oklch(52.4% 0.167 356.1);
Tailwind
colors: {
  custom: {
    50: '#cb7596',
    500: '#af346d',
    950: '#000000',
  },
}
SCSS
$custom: #af346d;
$custom-light: #cb7596;
$custom-dark: #000000;
JSON
{
  "hex": "#af346d",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 109
  },
  "hsl": {
    "h": 332.195,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52424,
    "c": 0.1667,
    "h": 356.1
  },
  "luminance": 0.12674
}

Semantic roles & 50–950 ramp

primary
#AF346D
secondary
#7BC4A2
accent
#DE994A
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF346D

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

Preview Lab → · Contrast checker → · Palette generator →

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