#AF345E#AF345E

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

Color values

HEX#AF345E
RGBrgb(175, 52, 94)
HSLhsl(340, 54%, 45%)
HSVhsv(340, 70%, 69%)
CMYKcmyk(0%, 70.3%, 46.3%, 31.4%)
CIE-LABlab(41.81, 52.73, 4.13)
CIE-LCHlch(41.81, 52.89, 4.47°)
OKLaboklab(51.94% 0.1612 0.0112)
OKLCHoklch(51.94% 0.162 4)
XYZxyz(20.9292, 12.3808, 11.8751)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF345E #34AF85
analogous
#AF349C #AF345E #AF4734
triadic
#AF345E #5EAF34 #345EAF
tetradic
#AF345E #9CAF34 #34AF85 #4734AF
square
#AF345E #9CAF34 #34AF85 #4734AF
split-complementary
#AF345E #34AF47 #349CAF
monochromatic
#51182B #802645 #AF345E #CC547D #DA83A1

Accessibility & contrast

On white

6.04
#AF345E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AF345E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF345E
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF345E#FFFFFF#000000##FFFFFF
##AF345E1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F535F
Deuteranopia (green-blind)
#706B5B
Tritanopia (blue-blind)
#BE2145
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af345e;
/* rgb */ color: rgb(175, 52, 94);
/* oklch */ color: oklch(51.9% 0.162 4.0);
Tailwind
colors: {
  custom: {
    50: '#cc758b',
    500: '#af345e',
    950: '#000000',
  },
}
SCSS
$custom: #af345e;
$custom-light: #cc758b;
$custom-dark: #000000;
JSON
{
  "hex": "#af345e",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 94
  },
  "hsl": {
    "h": 339.512,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51937,
    "c": 0.16159,
    "h": 4
  },
  "luminance": 0.12378
}

Semantic roles & 50–950 ramp

primary
#AF345E
secondary
#7BC4AB
accent
#DEAB4A
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF345E

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

Preview Lab → · Contrast checker → · Palette generator →

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