#AF3868#AF3868

#AF3868 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.7% C 0.160 H 359.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AF3868
RGBrgb(175, 56, 104)
HSLhsl(336, 52%, 45%)
HSVhsv(336, 68%, 69%)
CMYKcmyk(0%, 68%, 40.6%, 31.4%)
CIE-LABlab(42.68, 52.16, -0.86)
CIE-LCHlch(42.68, 52.17, 359.06°)
OKLaboklab(52.67% 0.1597 -0.0016)
OKLCHoklch(52.67% 0.16 359.4)
XYZxyz(21.5935, 12.9444, 14.4554)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3868 #38AF7F
analogous
#AF38A4 #AF3868 #AF4338
triadic
#AF3868 #68AF38 #3868AF
tetradic
#AF3868 #A4AF38 #38AF7F #4338AF
square
#AF3868 #A4AF38 #38AF7F #4338AF
split-complementary
#AF3868 #38AF43 #38A4AF
monochromatic
#521A31 #81294C #AF3868 #CA5A87 #D988A9

Accessibility & contrast

On white

5.85
#AF3868 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AF3868 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3868
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3868#FFFFFF#000000##FFFFFF
##AF38681.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5669
Deuteranopia (green-blind)
#6F6D65
Tritanopia (blue-blind)
#BD2A4C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3868;
/* rgb */ color: rgb(175, 56, 104);
/* oklch */ color: oklch(52.7% 0.160 359.4);
Tailwind
colors: {
  custom: {
    50: '#cb7793',
    500: '#af3868',
    950: '#000000',
  },
}
SCSS
$custom: #af3868;
$custom-light: #cb7793;
$custom-dark: #000000;
JSON
{
  "hex": "#af3868",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 104
  },
  "hsl": {
    "h": 335.798,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52673,
    "c": 0.15973,
    "h": 359.4
  },
  "luminance": 0.12942
}

Semantic roles & 50–950 ramp

primary
#AF3868
secondary
#80C3A8
accent
#DBA24D
background
#FDF7F9
surface
#FAEEF1
border
#D3C9CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF3868

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

Preview Lab → · Contrast checker → · Palette generator →

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