#AF3D8E#AF3D8E

#AF3D8E is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.7% C 0.173 H 341.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AF3D8E
RGBrgb(175, 61, 142)
HSLhsl(317, 48%, 46%)
HSVhsv(317, 65%, 69%)
CMYKcmyk(0%, 65.1%, 18.9%, 31.4%)
CIE-LABlab(44.81, 54.93, -20.95)
CIE-LCHlch(44.81, 58.78, 339.13°)
OKLaboklab(54.7% 0.1637 -0.0562)
OKLCHoklch(54.7% 0.173 341)
XYZxyz(24.2310, 14.4067, 27.0906)
Luminance0.1440 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3D8E #3DAF5E
analogous
#973DAF #AF3D8E #AF3D55
triadic
#AF3D8E #8EAF3D #3D8EAF
tetradic
#AF3D8E #AF973D #3DAF5E #3D55AF
square
#AF3D8E #AF973D #3DAF5E #3D55AF
split-complementary
#AF3D8E #55AF3D #3DAF97
monochromatic
#541D44 #822D69 #AF3D8E #C861AA #D88FC3

Accessibility & contrast

On white

5.41
#AF3D8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AF3D8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3D8E
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3D8E#FFFFFF#000000##FFFFFF
##AF3D8E1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455E90
Deuteranopia (green-blind)
#67718B
Tritanopia (blue-blind)
#B93F60
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3d8e;
/* rgb */ color: rgb(175, 61, 142);
/* oklch */ color: oklch(54.7% 0.173 341.0);
Tailwind
colors: {
  custom: {
    50: '#ca7aaf',
    500: '#af3d8e',
    950: '#000000',
  },
}
SCSS
$custom: #af3d8e;
$custom-light: #ca7aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#af3d8e",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 142
  },
  "hsl": {
    "h": 317.368,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54696,
    "c": 0.17305,
    "h": 341
  },
  "luminance": 0.14404
}

Semantic roles & 50–950 ramp

primary
#AF3D8E
secondary
#85C397
accent
#D87750
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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