#AF3864#AF3864

#AF3864 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.5% C 0.158 H 1.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AF3864
RGBrgb(175, 56, 100)
HSLhsl(338, 52%, 45%)
HSVhsv(338, 68%, 69%)
CMYKcmyk(0%, 68%, 42.9%, 31.4%)
CIE-LABlab(42.56, 51.75, 1.46)
CIE-LCHlch(42.56, 51.77, 1.61°)
OKLaboklab(52.54% 0.1583 0.0044)
OKLCHoklch(52.54% 0.158 1.6)
XYZxyz(21.3951, 12.8650, 13.4106)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3864 #38AF83
analogous
#AF389F #AF3864 #AF4738
triadic
#AF3864 #64AF38 #3864AF
tetradic
#AF3864 #9FAF38 #38AF83 #4738AF
square
#AF3864 #9FAF38 #38AF83 #4738AF
split-complementary
#AF3864 #38AF47 #389FAF
monochromatic
#521A2F #81294A #AF3864 #CA5A83 #D988A6

Accessibility & contrast

On white

5.88
#AF3864 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AF3864 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3864
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3864#FFFFFF#000000##FFFFFF
##AF38641.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505665
Deuteranopia (green-blind)
#706D61
Tritanopia (blue-blind)
#BE294A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3864;
/* rgb */ color: rgb(175, 56, 100);
/* oklch */ color: oklch(52.5% 0.158 1.6);
Tailwind
colors: {
  custom: {
    50: '#cc7790',
    500: '#af3864',
    950: '#000000',
  },
}
SCSS
$custom: #af3864;
$custom-light: #cc7790;
$custom-dark: #000000;
JSON
{
  "hex": "#af3864",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 100
  },
  "hsl": {
    "h": 337.815,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52544,
    "c": 0.15839,
    "h": 1.6
  },
  "luminance": 0.12862
}

Semantic roles & 50–950 ramp

primary
#AF3864
secondary
#80C3AA
accent
#DBA64D
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF3864

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

Preview Lab → · Contrast checker → · Palette generator →

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