#AF358B#AF358B

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

Color values

HEX#AF358B
RGBrgb(175, 53, 139)
HSLhsl(318, 54%, 45%)
HSVhsv(318, 70%, 69%)
CMYKcmyk(0%, 69.7%, 20.6%, 31.4%)
CIE-LABlab(43.55, 57.66, -21.08)
CIE-LCHlch(43.55, 61.39, 339.92°)
OKLaboklab(53.73% 0.1727 -0.0565)
OKLCHoklch(53.73% 0.182 341.9)
XYZxyz(23.6132, 13.5266, 25.7884)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF358B #35AF59
analogous
#9635AF #AF358B #AF354E
triadic
#AF358B #8BAF35 #358BAF
tetradic
#AF358B #AF9635 #35AF59 #354EAF
square
#AF358B #AF9635 #35AF59 #354EAF
split-complementary
#AF358B #4EAF35 #35AF96
monochromatic
#511940 #802766 #AF358B #CC56A9 #DA85C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF358B#FFFFFF#000000##FFFFFF
##AF358B1.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)
#3F5A8D
Deuteranopia (green-blind)
#656E88
Tritanopia (blue-blind)
#BA375B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af358b;
/* rgb */ color: rgb(175, 53, 139);
/* oklch */ color: oklch(53.7% 0.182 341.9);
Tailwind
colors: {
  custom: {
    50: '#ca76ad',
    500: '#af358b',
    950: '#000000',
  },
}
SCSS
$custom: #af358b;
$custom-light: #ca76ad;
$custom-dark: #000000;
JSON
{
  "hex": "#af358b",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 139
  },
  "hsl": {
    "h": 317.705,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53731,
    "c": 0.18168,
    "h": 341.9
  },
  "luminance": 0.13524
}

Semantic roles & 50–950 ramp

primary
#AF358B
secondary
#7CC491
accent
#DD764B
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF358B

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

Preview Lab → · Contrast checker → · Palette generator →

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