#AF346C#AF346C

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

Color values

HEX#AF346C
RGBrgb(175, 52, 108)
HSLhsl(333, 54%, 45%)
HSVhsv(333, 70%, 69%)
CMYKcmyk(0%, 70.3%, 38.3%, 31.4%)
CIE-LABlab(42.24, 54.17, -3.99)
CIE-LCHlch(42.24, 54.31, 355.79°)
OKLaboklab(52.39% 0.166 -0.0098)
OKLCHoklch(52.39% 0.166 356.6)
XYZxyz(21.6154, 12.6552, 15.4889)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF346C #34AF77
analogous
#AF34AA #AF346C #AF3A34
triadic
#AF346C #6CAF34 #346CAF
tetradic
#AF346C #AAAF34 #34AF77 #3A34AF
square
#AF346C #AAAF34 #34AF77 #3A34AF
split-complementary
#AF346C #34AF3A #34AAAF
monochromatic
#511832 #80264F #AF346C #CC548B #DA83AB

Accessibility & contrast

On white

5.95
#AF346C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF346C
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF346C#FFFFFF#000000##FFFFFF
##AF346C1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B556E
Deuteranopia (green-blind)
#6D6C69
Tritanopia (blue-blind)
#BD274C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af346c;
/* rgb */ color: rgb(175, 52, 108);
/* oklch */ color: oklch(52.4% 0.166 356.6);
Tailwind
colors: {
  custom: {
    50: '#cb7596',
    500: '#af346c',
    950: '#000000',
  },
}
SCSS
$custom: #af346c;
$custom-light: #cb7596;
$custom-dark: #000000;
JSON
{
  "hex": "#af346c",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 108
  },
  "hsl": {
    "h": 332.683,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52389,
    "c": 0.16629,
    "h": 356.6
  },
  "luminance": 0.12653
}

Semantic roles & 50–950 ramp

primary
#AF346C
secondary
#7BC4A3
accent
#DE9A4A
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF346C

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

Preview Lab → · Contrast checker → · Palette generator →

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