#AF4286#AF4286

#AF4286 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.9% C 0.161 H 345.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AF4286
RGBrgb(175, 66, 134)
HSLhsl(323, 45%, 47%)
HSVhsv(323, 62%, 69%)
CMYKcmyk(0%, 62.3%, 23.4%, 31.4%)
CIE-LABlab(45.27, 51.64, -15.40)
CIE-LCHlch(45.27, 53.89, 343.39°)
OKLaboklab(54.93% 0.1554 -0.0408)
OKLCHoklch(54.93% 0.161 345.3)
XYZxyz(23.9313, 14.7339, 24.1332)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4286 #42AF6B
analogous
#A242AF #AF4286 #AF4250
triadic
#AF4286 #86AF42 #4286AF
tetradic
#AF4286 #AFA242 #42AF6B #4250AF
square
#AF4286 #AFA242 #42AF6B #4250AF
split-complementary
#AF4286 #50AF42 #42AFA2
monochromatic
#562042 #833164 #AF4286 #C668A3 #D795BE

Accessibility & contrast

On white

5.32
#AF4286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AF4286 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4286
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4286#FFFFFF#000000##FFFFFF
##AF42861.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5F88
Deuteranopia (green-blind)
#6C7283
Tritanopia (blue-blind)
#BA415E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4286;
/* rgb */ color: rgb(175, 66, 134);
/* oklch */ color: oklch(54.9% 0.161 345.3);
Tailwind
colors: {
  custom: {
    50: '#ca7da9',
    500: '#af4286',
    950: '#000000',
  },
}
SCSS
$custom: #af4286;
$custom-light: #ca7da9;
$custom-dark: #000000;
JSON
{
  "hex": "#af4286",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 322.569,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54926,
    "c": 0.16066,
    "h": 345.3
  },
  "luminance": 0.14732
}

Semantic roles & 50–950 ramp

primary
#AF4286
secondary
#8AC29F
accent
#D58453
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF4286

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

Preview Lab → · Contrast checker → · Palette generator →

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