#AF3D94#AF3D94

#AF3D94 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.0% C 0.177 H 338.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AF3D94
RGBrgb(175, 61, 148)
HSLhsl(314, 48%, 46%)
HSVhsv(314, 65%, 69%)
CMYKcmyk(0%, 65.1%, 15.4%, 31.4%)
CIE-LABlab(45.07, 55.81, -24.16)
CIE-LCHlch(45.07, 60.82, 336.59°)
OKLaboklab(54.97% 0.1648 -0.0653)
OKLCHoklch(54.97% 0.177 338.4)
XYZxyz(24.6937, 14.5917, 29.5272)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3D94 #3DAF58
analogous
#913DAF #AF3D94 #AF3D5B
triadic
#AF3D94 #94AF3D #3D94AF
tetradic
#AF3D94 #AF913D #3DAF58 #3D5BAF
square
#AF3D94 #AF913D #3DAF58 #3D5BAF
split-complementary
#AF3D94 #5BAF3D #3DAF91
monochromatic
#541D47 #822D6E #AF3D94 #C861B0 #D88FC6

Accessibility & contrast

On white

5.36
#AF3D94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AF3D94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3D94
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3D94#FFFFFF#000000##FFFFFF
##AF3D941.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425F97
Deuteranopia (green-blind)
#657191
Tritanopia (blue-blind)
#B84163
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af3d94;
/* rgb */ color: rgb(175, 61, 148);
/* oklch */ color: oklch(55.0% 0.177 338.4);
Tailwind
colors: {
  custom: {
    50: '#ca7bb3',
    500: '#af3d94',
    950: '#000000',
  },
}
SCSS
$custom: #af3d94;
$custom-light: #ca7bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3d94",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 148
  },
  "hsl": {
    "h": 314.211,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54971,
    "c": 0.17723,
    "h": 338.4
  },
  "luminance": 0.1459
}

Semantic roles & 50–950 ramp

primary
#AF3D94
secondary
#85C394
accent
#D87050
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3D94

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

Preview Lab → · Contrast checker → · Palette generator →

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