#AF346E#AF346E

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

Color values

HEX#AF346E
RGBrgb(175, 52, 110)
HSLhsl(332, 54%, 45%)
HSVhsv(332, 70%, 69%)
CMYKcmyk(0%, 70.3%, 37.1%, 31.4%)
CIE-LABlab(42.31, 54.39, -5.14)
CIE-LCHlch(42.31, 54.63, 354.60°)
OKLaboklab(52.46% 0.1666 -0.0128)
OKLCHoklch(52.46% 0.167 355.6)
XYZxyz(21.7230, 12.6983, 16.0559)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF346E #34AF75
analogous
#AF34AC #AF346E #AF3734
triadic
#AF346E #6EAF34 #346EAF
tetradic
#AF346E #ACAF34 #34AF75 #3734AF
square
#AF346E #ACAF34 #34AF75 #3734AF
split-complementary
#AF346E #34AF37 #34ACAF
monochromatic
#511833 #802650 #AF346E #CC548D #DA83AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF346E#FFFFFF#000000##FFFFFF
##AF346E1.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)
#4B5570
Deuteranopia (green-blind)
#6D6C6B
Tritanopia (blue-blind)
#BD284C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af346e;
/* rgb */ color: rgb(175, 52, 110);
/* oklch */ color: oklch(52.5% 0.167 355.6);
Tailwind
colors: {
  custom: {
    50: '#cb7597',
    500: '#af346e',
    950: '#000000',
  },
}
SCSS
$custom: #af346e;
$custom-light: #cb7597;
$custom-dark: #000000;
JSON
{
  "hex": "#af346e",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 110
  },
  "hsl": {
    "h": 331.707,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5246,
    "c": 0.16711,
    "h": 355.6
  },
  "luminance": 0.12696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF346E

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

Preview Lab → · Contrast checker → · Palette generator →

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