#AF4284#AF4284

#AF4284 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.8% C 0.159 H 346.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AF4284
RGBrgb(175, 66, 132)
HSLhsl(324, 45%, 47%)
HSVhsv(324, 62%, 69%)
CMYKcmyk(0%, 62.3%, 24.6%, 31.4%)
CIE-LABlab(45.19, 51.37, -14.31)
CIE-LCHlch(45.19, 53.32, 344.44°)
OKLaboklab(54.84% 0.1549 -0.0378)
OKLCHoklch(54.84% 0.159 346.3)
XYZxyz(23.7931, 14.6786, 23.4055)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4284 #42AF6D
analogous
#A442AF #AF4284 #AF424D
triadic
#AF4284 #84AF42 #4284AF
tetradic
#AF4284 #AFA442 #42AF6D #424DAF
square
#AF4284 #AFA442 #42AF6D #424DAF
split-complementary
#AF4284 #4DAF42 #42AFA4
monochromatic
#562041 #833162 #AF4284 #C668A1 #D795BD

Accessibility & contrast

On white

5.34
#AF4284 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AF4284 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4284
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4284#FFFFFF#000000##FFFFFF
##AF42841.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5F86
Deuteranopia (green-blind)
#6D7281
Tritanopia (blue-blind)
#BA405D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4284;
/* rgb */ color: rgb(175, 66, 132);
/* oklch */ color: oklch(54.8% 0.159 346.3);
Tailwind
colors: {
  custom: {
    50: '#ca7da7',
    500: '#af4284',
    950: '#000000',
  },
}
SCSS
$custom: #af4284;
$custom-light: #ca7da7;
$custom-dark: #000000;
JSON
{
  "hex": "#af4284",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 132
  },
  "hsl": {
    "h": 323.67,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54844,
    "c": 0.15943,
    "h": 346.3
  },
  "luminance": 0.14676
}

Semantic roles & 50–950 ramp

primary
#AF4284
secondary
#8AC2A0
accent
#D58653
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF4284

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

Preview Lab → · Contrast checker → · Palette generator →

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