#AF4386#AF4386

#AF4386 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.0% C 0.159 H 345.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AF4386
RGBrgb(175, 67, 134)
HSLhsl(323, 45%, 47%)
HSVhsv(323, 62%, 69%)
CMYKcmyk(0%, 61.7%, 23.4%, 31.4%)
CIE-LABlab(45.43, 51.20, -15.15)
CIE-LCHlch(45.43, 53.40, 343.51°)
OKLaboklab(55.05% 0.154 -0.0401)
OKLCHoklch(55.05% 0.159 345.4)
XYZxyz(23.9902, 14.8518, 24.1529)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4386 #43AF6C
analogous
#A243AF #AF4386 #AF4350
triadic
#AF4386 #86AF43 #4386AF
tetradic
#AF4386 #AFA243 #43AF6C #4350AF
square
#AF4386 #AFA243 #43AF6C #4350AF
split-complementary
#AF4386 #50AF43 #43AFA2
monochromatic
#562142 #833264 #AF4386 #C669A3 #D796BE

Accessibility & contrast

On white

5.29
#AF4386 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AF4386 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4386
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4386#FFFFFF#000000##FFFFFF
##AF43861.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6088
Deuteranopia (green-blind)
#6C7283
Tritanopia (blue-blind)
#BA425F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4386;
/* rgb */ color: rgb(175, 67, 134);
/* oklch */ color: oklch(55.0% 0.159 345.4);
Tailwind
colors: {
  custom: {
    50: '#ca7da9',
    500: '#af4386',
    950: '#000000',
  },
}
SCSS
$custom: #af4386;
$custom-light: #ca7da9;
$custom-dark: #000000;
JSON
{
  "hex": "#af4386",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 134
  },
  "hsl": {
    "h": 322.778,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55046,
    "c": 0.15918,
    "h": 345.4
  },
  "luminance": 0.1485
}

Semantic roles & 50–950 ramp

primary
#AF4386
secondary
#8BC2A0
accent
#D48453
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF4386

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

Preview Lab → · Contrast checker → · Palette generator →

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