#AF348C#AF348C

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

Color values

HEX#AF348C
RGBrgb(175, 52, 140)
HSLhsl(317, 54%, 45%)
HSVhsv(317, 70%, 69%)
CMYKcmyk(0%, 70.3%, 20%, 31.4%)
CIE-LABlab(43.46, 58.17, -21.82)
CIE-LCHlch(43.46, 62.13, 339.44°)
OKLaboklab(53.68% 0.174 -0.0586)
OKLCHoklch(53.68% 0.184 341.4)
XYZxyz(23.6415, 13.4657, 26.1599)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF348C #34AF57
analogous
#9534AF #AF348C #AF344F
triadic
#AF348C #8CAF34 #348CAF
tetradic
#AF348C #AF9534 #34AF57 #344FAF
square
#AF348C #AF9534 #34AF57 #344FAF
split-complementary
#AF348C #4FAF34 #34AF95
monochromatic
#511841 #802666 #AF348C #CC54AA #DA83C1

Accessibility & contrast

On white

5.69
#AF348C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AF348C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF348C
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF348C#FFFFFF#000000##FFFFFF
##AF348C1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5A8E
Deuteranopia (green-blind)
#646E89
Tritanopia (blue-blind)
#BA365B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af348c;
/* rgb */ color: rgb(175, 52, 140);
/* oklch */ color: oklch(53.7% 0.184 341.4);
Tailwind
colors: {
  custom: {
    50: '#cb76ad',
    500: '#af348c',
    950: '#000000',
  },
}
SCSS
$custom: #af348c;
$custom-light: #cb76ad;
$custom-dark: #000000;
JSON
{
  "hex": "#af348c",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 317.073,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5368,
    "c": 0.18359,
    "h": 341.4
  },
  "luminance": 0.13463
}

Semantic roles & 50–950 ramp

primary
#AF348C
secondary
#7BC490
accent
#DE744A
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF348C

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

Preview Lab → · Contrast checker → · Palette generator →

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