#AF345D#AF345D

#AF345D is a mid, vivid pink. Relative luminance 0.124; OKLCH L 51.9% C 0.161 H 4.5°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AF345D
RGBrgb(175, 52, 93)
HSLhsl(340, 54%, 45%)
HSVhsv(340, 70%, 69%)
CMYKcmyk(0%, 70.3%, 46.9%, 31.4%)
CIE-LABlab(41.79, 52.63, 4.71)
CIE-LCHlch(41.79, 52.84, 5.12°)
OKLaboklab(51.91% 0.1608 0.0126)
OKLCHoklch(51.91% 0.161 4.5)
XYZxyz(20.8846, 12.3629, 11.6403)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF345D #34AF86
analogous
#AF349B #AF345D #AF4934
triadic
#AF345D #5DAF34 #345DAF
tetradic
#AF345D #9BAF34 #34AF86 #4934AF
square
#AF345D #9BAF34 #34AF86 #4934AF
split-complementary
#AF345D #34AF49 #349BAF
monochromatic
#51182B #802644 #AF345D #CC547C #DA83A0

Accessibility & contrast

On white

6.05
#AF345D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AF345D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF345D
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF345D#FFFFFF#000000##FFFFFF
##AF345D1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F535E
Deuteranopia (green-blind)
#706B5A
Tritanopia (blue-blind)
#BE2045
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af345d;
/* rgb */ color: rgb(175, 52, 93);
/* oklch */ color: oklch(51.9% 0.161 4.5);
Tailwind
colors: {
  custom: {
    50: '#cc758a',
    500: '#af345d',
    950: '#000000',
  },
}
SCSS
$custom: #af345d;
$custom-light: #cc758a;
$custom-dark: #000000;
JSON
{
  "hex": "#af345d",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 93
  },
  "hsl": {
    "h": 340,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51908,
    "c": 0.16133,
    "h": 4.5
  },
  "luminance": 0.1236
}

Semantic roles & 50–950 ramp

primary
#AF345D
secondary
#7BC4AB
accent
#DEAC4A
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AF345D

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

Preview Lab → · Contrast checker → · Palette generator →

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