#AF345F#AF345F

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

Color values

HEX#AF345F
RGBrgb(175, 52, 95)
HSLhsl(339, 54%, 45%)
HSVhsv(339, 70%, 69%)
CMYKcmyk(0%, 70.3%, 45.7%, 31.4%)
CIE-LABlab(41.84, 52.83, 3.54)
CIE-LCHlch(41.84, 52.94, 3.83°)
OKLaboklab(51.97% 0.1616 0.0097)
OKLCHoklch(51.97% 0.162 3.4)
XYZxyz(20.9744, 12.3988, 12.1130)
Luminance0.1240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF345F #34AF84
analogous
#AF349D #AF345F #AF4634
triadic
#AF345F #5FAF34 #345FAF
tetradic
#AF345F #9DAF34 #34AF84 #4634AF
square
#AF345F #9DAF34 #34AF84 #4634AF
split-complementary
#AF345F #34AF46 #349DAF
monochromatic
#51182C #802645 #AF345F #CC547E #DA83A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF345F#FFFFFF#000000##FFFFFF
##AF345F1.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)
#4F5360
Deuteranopia (green-blind)
#706C5C
Tritanopia (blue-blind)
#BE2146
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af345f;
/* rgb */ color: rgb(175, 52, 95);
/* oklch */ color: oklch(52.0% 0.162 3.4);
Tailwind
colors: {
  custom: {
    50: '#cc758c',
    500: '#af345f',
    950: '#000000',
  },
}
SCSS
$custom: #af345f;
$custom-light: #cc758c;
$custom-dark: #000000;
JSON
{
  "hex": "#af345f",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 95
  },
  "hsl": {
    "h": 339.024,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51967,
    "c": 0.16186,
    "h": 3.4
  },
  "luminance": 0.12396
}

Semantic roles & 50–950 ramp

primary
#AF345F
secondary
#7BC4AA
accent
#DEAA4A
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF345F

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

Preview Lab → · Contrast checker → · Palette generator →

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