#AF358C#AF358C

#AF358C is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.8% C 0.182 H 341.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AF358C
RGBrgb(175, 53, 140)
HSLhsl(317, 54%, 45%)
HSVhsv(317, 70%, 69%)
CMYKcmyk(0%, 69.7%, 20%, 31.4%)
CIE-LABlab(43.59, 57.80, -21.62)
CIE-LCHlch(43.59, 61.71, 339.49°)
OKLaboklab(53.78% 0.1728 -0.0581)
OKLCHoklch(53.78% 0.182 341.4)
XYZxyz(23.6866, 13.5559, 26.1750)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF358C #35AF58
analogous
#9535AF #AF358C #AF354F
triadic
#AF358C #8CAF35 #358CAF
tetradic
#AF358C #AF9535 #35AF58 #354FAF
square
#AF358C #AF9535 #35AF58 #354FAF
split-complementary
#AF358C #4FAF35 #35AF95
monochromatic
#511941 #802766 #AF358C #CC56AA #DA85C1

Accessibility & contrast

On white

5.66
#AF358C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AF358C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF358C
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF358C#FFFFFF#000000##FFFFFF
##AF358C1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af358c;
/* rgb */ color: rgb(175, 53, 140);
/* oklch */ color: oklch(53.8% 0.182 341.4);
Tailwind
colors: {
  custom: {
    50: '#ca76ad',
    500: '#af358c',
    950: '#000000',
  },
}
SCSS
$custom: #af358c;
$custom-light: #ca76ad;
$custom-dark: #000000;
JSON
{
  "hex": "#af358c",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 140
  },
  "hsl": {
    "h": 317.213,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53776,
    "c": 0.18234,
    "h": 341.4
  },
  "luminance": 0.13554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF358C

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

Preview Lab → · Contrast checker → · Palette generator →

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