#AF284D#AF284D

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

Color values

HEX#AF284D
RGBrgb(175, 40, 77)
HSLhsl(344, 63%, 42%)
HSVhsv(344, 77%, 69%)
CMYKcmyk(0%, 77.1%, 56%, 31.4%)
CIE-LABlab(39.87, 55.50, 12.09)
CIE-LCHlch(39.87, 56.80, 12.29°)
OKLaboklab(50.35% 0.1683 0.0305)
OKLCHoklch(50.35% 0.171 10.3)
XYZxyz(19.7794, 11.1702, 8.1343)
Luminance0.1117 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF284D #28AF8A
analogous
#AF2890 #AF284D #AF4728
triadic
#AF284D #4DAF28 #284DAF
tetradic
#AF284D #90AF28 #28AF8A #4728AF
square
#AF284D #90AF28 #28AF8A #4728AF
split-complementary
#AF284D #28AF47 #2890AF
monochromatic
#4B1121 #7D1D37 #AF284D #D44169 #DF7390

Accessibility & contrast

On white

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

On black

3.23
#AF284D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF284D#FFFFFF#000000##FFFFFF
##AF284D1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af284d;
/* rgb */ color: rgb(175, 40, 77);
/* oklch */ color: oklch(50.4% 0.171 10.3);
Tailwind
colors: {
  custom: {
    50: '#cd6f7e',
    500: '#af284d',
    950: '#000000',
  },
}
SCSS
$custom: #af284d;
$custom-light: #cd6f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#af284d",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 77
  },
  "hsl": {
    "h": 343.556,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50353,
    "c": 0.17104,
    "h": 10.3
  },
  "luminance": 0.11167
}

Semantic roles & 50–950 ramp

primary
#AF284D
secondary
#6DC6AE
accent
#E6B942
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF284D

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

Preview Lab → · Contrast checker → · Palette generator →

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