#AF346F#AF346F

#AF346F is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.5% C 0.168 H 355.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AF346F
RGBrgb(175, 52, 111)
HSLhsl(331, 54%, 45%)
HSVhsv(331, 70%, 69%)
CMYKcmyk(0%, 70.3%, 36.6%, 31.4%)
CIE-LABlab(42.34, 54.50, -5.71)
CIE-LCHlch(42.34, 54.80, 354.02°)
OKLaboklab(52.5% 0.1669 -0.0144)
OKLCHoklch(52.5% 0.168 355.1)
XYZxyz(21.7778, 12.7202, 16.3442)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF346F #34AF74
analogous
#AF34AC #AF346F #AF3734
triadic
#AF346F #6FAF34 #346FAF
tetradic
#AF346F #ACAF34 #34AF74 #3734AF
square
#AF346F #ACAF34 #34AF74 #3734AF
split-complementary
#AF346F #34AF37 #34ACAF
monochromatic
#511833 #802651 #AF346F #CC548E #DA83AD

Accessibility & contrast

On white

5.93
#AF346F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AF346F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF346F
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF346F#FFFFFF#000000##FFFFFF
##AF346F1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5571
Deuteranopia (green-blind)
#6C6C6C
Tritanopia (blue-blind)
#BD294D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af346f;
/* rgb */ color: rgb(175, 52, 111);
/* oklch */ color: oklch(52.5% 0.168 355.1);
Tailwind
colors: {
  custom: {
    50: '#cb7598',
    500: '#af346f',
    950: '#000000',
  },
}
SCSS
$custom: #af346f;
$custom-light: #cb7598;
$custom-dark: #000000;
JSON
{
  "hex": "#af346f",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 111
  },
  "hsl": {
    "h": 331.22,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52495,
    "c": 0.16755,
    "h": 355.1
  },
  "luminance": 0.12718
}

Semantic roles & 50–950 ramp

primary
#AF346F
secondary
#7BC4A1
accent
#DE974A
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF346F

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

Preview Lab → · Contrast checker → · Palette generator →

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