#AF346A#AF346A

#AF346A is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.3% C 0.165 H 357.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AF346A
RGBrgb(175, 52, 106)
HSLhsl(334, 54%, 45%)
HSVhsv(334, 70%, 69%)
CMYKcmyk(0%, 70.3%, 39.4%, 31.4%)
CIE-LABlab(42.17, 53.95, -2.84)
CIE-LCHlch(42.17, 54.02, 356.98°)
OKLaboklab(52.32% 0.1654 -0.0068)
OKLCHoklch(52.32% 0.165 357.6)
XYZxyz(21.5101, 12.6132, 14.9347)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF346A #34AF79
analogous
#AF34A7 #AF346A #AF3C34
triadic
#AF346A #6AAF34 #346AAF
tetradic
#AF346A #A7AF34 #34AF79 #3C34AF
square
#AF346A #A7AF34 #34AF79 #3C34AF
split-complementary
#AF346A #34AF3C #34A7AF
monochromatic
#511831 #80264D #AF346A #CC5489 #DA83A9

Accessibility & contrast

On white

5.96
#AF346A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AF346A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF346A
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF346A#FFFFFF#000000##FFFFFF
##AF346A1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C556B
Deuteranopia (green-blind)
#6D6C67
Tritanopia (blue-blind)
#BD264B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af346a;
/* rgb */ color: rgb(175, 52, 106);
/* oklch */ color: oklch(52.3% 0.165 357.6);
Tailwind
colors: {
  custom: {
    50: '#cb7594',
    500: '#af346a',
    950: '#000000',
  },
}
SCSS
$custom: #af346a;
$custom-light: #cb7594;
$custom-dark: #000000;
JSON
{
  "hex": "#af346a",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 106
  },
  "hsl": {
    "h": 333.659,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5232,
    "c": 0.16549,
    "h": 357.6
  },
  "luminance": 0.12611
}

Semantic roles & 50–950 ramp

primary
#AF346A
secondary
#7BC4A4
accent
#DE9D4A
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF346A

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

Preview Lab → · Contrast checker → · Palette generator →

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