#AF348E#AF348E

#AF348E is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.8% C 0.185 H 340.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AF348E
RGBrgb(175, 52, 142)
HSLhsl(316, 54%, 45%)
HSVhsv(316, 70%, 69%)
CMYKcmyk(0%, 70.3%, 18.9%, 31.4%)
CIE-LABlab(43.54, 58.45, -22.90)
CIE-LCHlch(43.54, 62.78, 338.60°)
OKLaboklab(53.77% 0.1743 -0.0617)
OKLCHoklch(53.77% 0.185 340.5)
XYZxyz(23.7903, 13.5252, 26.9436)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF348E #34AF55
analogous
#9334AF #AF348E #AF3450
triadic
#AF348E #8EAF34 #348EAF
tetradic
#AF348E #AF9334 #34AF55 #3450AF
square
#AF348E #AF9334 #34AF55 #3450AF
split-complementary
#AF348E #50AF34 #34AF93
monochromatic
#511841 #802668 #AF348E #CC54AC #DA83C3

Accessibility & contrast

On white

5.67
#AF348E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF348E
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF348E#FFFFFF#000000##FFFFFF
##AF348E1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A91
Deuteranopia (green-blind)
#636E8B
Tritanopia (blue-blind)
#B9375C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af348e;
/* rgb */ color: rgb(175, 52, 142);
/* oklch */ color: oklch(53.8% 0.185 340.5);
Tailwind
colors: {
  custom: {
    50: '#ca76af',
    500: '#af348e',
    950: '#000000',
  },
}
SCSS
$custom: #af348e;
$custom-light: #ca76af;
$custom-dark: #000000;
JSON
{
  "hex": "#af348e",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 316.098,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53772,
    "c": 0.1849,
    "h": 340.5
  },
  "luminance": 0.13523
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF348E

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

Preview Lab → · Contrast checker → · Palette generator →

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