#AF4183#AF4183

#AF4183 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.7% C 0.160 H 346.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AF4183
RGBrgb(175, 65, 131)
HSLhsl(324, 46%, 47%)
HSVhsv(324, 63%, 69%)
CMYKcmyk(0%, 62.9%, 25.1%, 31.4%)
CIE-LABlab(44.99, 51.67, -14.00)
CIE-LCHlch(44.99, 53.53, 344.84°)
OKLaboklab(54.68% 0.156 -0.0369)
OKLCHoklch(54.68% 0.16 346.7)
XYZxyz(23.6671, 14.5356, 23.0275)
Luminance0.1453 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4183 #41AF6D
analogous
#A441AF #AF4183 #AF414C
triadic
#AF4183 #83AF41 #4183AF
tetradic
#AF4183 #AFA441 #41AF6D #414CAF
square
#AF4183 #AFA441 #41AF6D #414CAF
split-complementary
#AF4183 #4CAF41 #41AFA4
monochromatic
#562040 #823062 #AF4183 #C667A0 #D793BC

Accessibility & contrast

On white

5.38
#AF4183 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AF4183 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4183
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4183#FFFFFF#000000##FFFFFF
##AF41831.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5E85
Deuteranopia (green-blind)
#6C7180
Tritanopia (blue-blind)
#BA3F5C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af4183;
/* rgb */ color: rgb(175, 65, 131);
/* oklch */ color: oklch(54.7% 0.160 346.7);
Tailwind
colors: {
  custom: {
    50: '#ca7ca7',
    500: '#af4183',
    950: '#000000',
  },
}
SCSS
$custom: #af4183;
$custom-light: #ca7ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#af4183",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 131
  },
  "hsl": {
    "h": 324,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54685,
    "c": 0.16029,
    "h": 346.7
  },
  "luminance": 0.14533
}

Semantic roles & 50–950 ramp

primary
#AF4183
secondary
#89C2A0
accent
#D58752
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF4183

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

Preview Lab → · Contrast checker → · Palette generator →

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