#AF284E#AF284E

#AF284E is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.4% C 0.171 H 9.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AF284E
RGBrgb(175, 40, 78)
HSLhsl(343, 63%, 42%)
HSVhsv(343, 77%, 69%)
CMYKcmyk(0%, 77.1%, 55.4%, 31.4%)
CIE-LABlab(39.89, 55.57, 11.49)
CIE-LCHlch(39.89, 56.75, 11.68°)
OKLaboklab(50.38% 0.1687 0.0291)
OKLCHoklch(50.38% 0.171 9.8)
XYZxyz(19.8150, 11.1844, 8.3217)
Luminance0.1118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF284E #28AF89
analogous
#AF2892 #AF284E #AF4528
triadic
#AF284E #4EAF28 #284EAF
tetradic
#AF284E #92AF28 #28AF89 #4528AF
square
#AF284E #92AF28 #28AF89 #4528AF
split-complementary
#AF284E #28AF45 #2892AF
monochromatic
#4B1122 #7D1D38 #AF284E #D4416A #DF7391

Accessibility & contrast

On white

6.49
#AF284E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AF284E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF284E
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF284E#FFFFFF#000000##FFFFFF
##AF284E1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4D4F
Deuteranopia (green-blind)
#6F684B
Tritanopia (blue-blind)
#BF0038
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af284e;
/* rgb */ color: rgb(175, 40, 78);
/* oklch */ color: oklch(50.4% 0.171 9.8);
Tailwind
colors: {
  custom: {
    50: '#cd6f7f',
    500: '#af284e',
    950: '#000000',
  },
}
SCSS
$custom: #af284e;
$custom-light: #cd6f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#af284e",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 78
  },
  "hsl": {
    "h": 343.111,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50379,
    "c": 0.17118,
    "h": 9.8
  },
  "luminance": 0.11182
}

Semantic roles & 50–950 ramp

primary
#AF284E
secondary
#6DC6AD
accent
#E6B842
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF284E

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

Preview Lab → · Contrast checker → · Palette generator →

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