#AF358E#AF358E

#AF358E is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.9% C 0.184 H 340.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AF358E
RGBrgb(175, 53, 142)
HSLhsl(316, 54%, 45%)
HSVhsv(316, 70%, 69%)
CMYKcmyk(0%, 69.7%, 18.9%, 31.4%)
CIE-LABlab(43.68, 58.08, -22.70)
CIE-LCHlch(43.68, 62.36, 338.66°)
OKLaboklab(53.87% 0.1732 -0.0611)
OKLCHoklch(53.87% 0.184 340.6)
XYZxyz(23.8354, 13.6154, 26.9587)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF358E #35AF56
analogous
#9335AF #AF358E #AF3551
triadic
#AF358E #8EAF35 #358EAF
tetradic
#AF358E #AF9335 #35AF56 #3551AF
square
#AF358E #AF9335 #35AF56 #3551AF
split-complementary
#AF358E #51AF35 #35AF93
monochromatic
#511942 #802768 #AF358E #CC56AC #DA85C3

Accessibility & contrast

On white

5.64
#AF358E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AF358E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF358E
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF358E#FFFFFF#000000##FFFFFF
##AF358E1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5B91
Deuteranopia (green-blind)
#646E8B
Tritanopia (blue-blind)
#B9385D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af358e;
/* rgb */ color: rgb(175, 53, 142);
/* oklch */ color: oklch(53.9% 0.184 340.6);
Tailwind
colors: {
  custom: {
    50: '#ca76af',
    500: '#af358e',
    950: '#000000',
  },
}
SCSS
$custom: #af358e;
$custom-light: #ca76af;
$custom-dark: #000000;
JSON
{
  "hex": "#af358e",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 142
  },
  "hsl": {
    "h": 316.23,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53868,
    "c": 0.18366,
    "h": 340.6
  },
  "luminance": 0.13613
}

Semantic roles & 50–950 ramp

primary
#AF358E
secondary
#7CC490
accent
#DD724B
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF358E

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

Preview Lab → · Contrast checker → · Palette generator →

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