#AF348F#AF348F

#AF348F is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.8% C 0.186 H 340.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AF348F
RGBrgb(175, 52, 143)
HSLhsl(316, 54%, 45%)
HSVhsv(316, 70%, 69%)
CMYKcmyk(0%, 70.3%, 18.3%, 31.4%)
CIE-LABlab(43.59, 58.59, -23.44)
CIE-LCHlch(43.59, 63.11, 338.20°)
OKLaboklab(53.82% 0.1745 -0.0632)
OKLCHoklch(53.82% 0.186 340.1)
XYZxyz(23.8657, 13.5554, 27.3408)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF348F #34AF54
analogous
#9234AF #AF348F #AF3451
triadic
#AF348F #8FAF34 #348FAF
tetradic
#AF348F #AF9234 #34AF54 #3451AF
square
#AF348F #AF9234 #34AF54 #3451AF
split-complementary
#AF348F #51AF34 #34AF92
monochromatic
#511842 #802668 #AF348F #CC54AD #DA83C4

Accessibility & contrast

On white

5.66
#AF348F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AF348F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF348F
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF348F#FFFFFF#000000##FFFFFF
##AF348F1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5A92
Deuteranopia (green-blind)
#636E8C
Tritanopia (blue-blind)
#B9385D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af348f;
/* rgb */ color: rgb(175, 52, 143);
/* oklch */ color: oklch(53.8% 0.186 340.1);
Tailwind
colors: {
  custom: {
    50: '#ca76b0',
    500: '#af348f',
    950: '#000000',
  },
}
SCSS
$custom: #af348f;
$custom-light: #ca76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#af348f",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 315.61,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53819,
    "c": 0.18558,
    "h": 340.1
  },
  "luminance": 0.13553
}

Semantic roles & 50–950 ramp

primary
#AF348F
secondary
#7BC48E
accent
#DE714A
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF348F

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

Preview Lab → · Contrast checker → · Palette generator →

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