#AF348D#AF348D

#AF348D is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.7% C 0.184 H 340.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AF348D
RGBrgb(175, 52, 141)
HSLhsl(317, 54%, 45%)
HSVhsv(317, 70%, 69%)
CMYKcmyk(0%, 70.3%, 19.4%, 31.4%)
CIE-LABlab(43.50, 58.31, -22.36)
CIE-LCHlch(43.50, 62.45, 339.02°)
OKLaboklab(53.73% 0.1741 -0.0602)
OKLCHoklch(53.73% 0.184 340.9)
XYZxyz(23.7156, 13.4953, 26.5500)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF348D #34AF56
analogous
#9334AF #AF348D #AF3450
triadic
#AF348D #8DAF34 #348DAF
tetradic
#AF348D #AF9334 #34AF56 #3450AF
square
#AF348D #AF9334 #34AF56 #3450AF
split-complementary
#AF348D #50AF34 #34AF93
monochromatic
#511841 #802667 #AF348D #CC54AB #DA83C2

Accessibility & contrast

On white

5.68
#AF348D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AF348D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF348D
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF348D#FFFFFF#000000##FFFFFF
##AF348D1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A90
Deuteranopia (green-blind)
#646E8A
Tritanopia (blue-blind)
#B9375C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af348d;
/* rgb */ color: rgb(175, 52, 141);
/* oklch */ color: oklch(53.7% 0.184 340.9);
Tailwind
colors: {
  custom: {
    50: '#cb76ae',
    500: '#af348d',
    950: '#000000',
  },
}
SCSS
$custom: #af348d;
$custom-light: #cb76ae;
$custom-dark: #000000;
JSON
{
  "hex": "#af348d",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 316.585,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53726,
    "c": 0.18424,
    "h": 340.9
  },
  "luminance": 0.13493
}

Semantic roles & 50–950 ramp

primary
#AF348D
secondary
#7BC48F
accent
#DE734A
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF348D

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

Preview Lab → · Contrast checker → · Palette generator →

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