#AF284C#AF284C

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

Color values

HEX#AF284C
RGBrgb(175, 40, 76)
HSLhsl(344, 63%, 42%)
HSVhsv(344, 77%, 69%)
CMYKcmyk(0%, 77.1%, 56.6%, 31.4%)
CIE-LABlab(39.84, 55.42, 12.69)
CIE-LCHlch(39.84, 56.86, 12.89°)
OKLaboklab(50.33% 0.1679 0.0319)
OKLCHoklch(50.33% 0.171 10.8)
XYZxyz(19.7444, 11.1562, 7.9498)
Luminance0.1115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF284C #28AF8B
analogous
#AF2890 #AF284C #AF4828
triadic
#AF284C #4CAF28 #284CAF
tetradic
#AF284C #90AF28 #28AF8B #4828AF
square
#AF284C #90AF28 #28AF8B #4828AF
split-complementary
#AF284C #28AF48 #2890AF
monochromatic
#4B1121 #7D1D36 #AF284C #D44168 #DF738F

Accessibility & contrast

On white

6.50
#AF284C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF284C
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF284C#FFFFFF#000000##FFFFFF
##AF284C1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4C4D
Deuteranopia (green-blind)
#6F6849
Tritanopia (blue-blind)
#BF0037
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af284c;
/* rgb */ color: rgb(175, 40, 76);
/* oklch */ color: oklch(50.3% 0.171 10.8);
Tailwind
colors: {
  custom: {
    50: '#cd6f7d',
    500: '#af284c',
    950: '#000000',
  },
}
SCSS
$custom: #af284c;
$custom-light: #cd6f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#af284c",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 76
  },
  "hsl": {
    "h": 344,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50329,
    "c": 0.1709,
    "h": 10.8
  },
  "luminance": 0.11153
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF284C

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

Preview Lab → · Contrast checker → · Palette generator →

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