#AF284A#AF284A

#AF284A is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.171 H 11.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AF284A
RGBrgb(175, 40, 74)
HSLhsl(345, 63%, 42%)
HSVhsv(345, 77%, 69%)
CMYKcmyk(0%, 77.1%, 57.7%, 31.4%)
CIE-LABlab(39.80, 55.28, 13.89)
CIE-LCHlch(39.80, 57.00, 14.11°)
OKLaboklab(50.28% 0.1671 0.0347)
OKLCHoklch(50.28% 0.171 11.7)
XYZxyz(19.6760, 11.1288, 7.5892)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF284A #28AF8D
analogous
#AF288E #AF284A #AF4A28
triadic
#AF284A #4AAF28 #284AAF
tetradic
#AF284A #8EAF28 #28AF8D #4A28AF
square
#AF284A #8EAF28 #28AF8D #4A28AF
split-complementary
#AF284A #28AF4A #288EAF
monochromatic
#4B1120 #7D1D35 #AF284A #D44166 #DF738E

Accessibility & contrast

On white

6.51
#AF284A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF284A
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF284A#FFFFFF#000000##FFFFFF
##AF284A1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4C4A
Deuteranopia (green-blind)
#6F6847
Tritanopia (blue-blind)
#C00036
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af284a;
/* rgb */ color: rgb(175, 40, 74);
/* oklch */ color: oklch(50.3% 0.171 11.7);
Tailwind
colors: {
  custom: {
    50: '#ce6f7c',
    500: '#af284a',
    950: '#000000',
  },
}
SCSS
$custom: #af284a;
$custom-light: #ce6f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#af284a",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 74
  },
  "hsl": {
    "h": 344.889,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5028,
    "c": 0.17068,
    "h": 11.7
  },
  "luminance": 0.11126
}

Semantic roles & 50–950 ramp

primary
#AF284A
secondary
#6DC6B0
accent
#E6BD42
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF284A

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

Preview Lab → · Contrast checker → · Palette generator →

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