#AF2386#AF2386

#AF2386 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 52.0% C 0.198 H 343.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AF2386
RGBrgb(175, 35, 134)
HSLhsl(318, 67%, 41%)
HSVhsv(318, 80%, 69%)
CMYKcmyk(0%, 80%, 23.4%, 31.4%)
CIE-LABlab(41.28, 62.80, -21.52)
CIE-LCHlch(41.28, 66.38, 341.08°)
OKLaboklab(52.02% 0.1896 -0.0577)
OKLCHoklch(52.02% 0.198 343.1)
XYZxyz(22.5842, 12.0397, 23.6842)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2386 #23AF4C
analogous
#9223AF #AF2386 #AF2340
triadic
#AF2386 #86AF23 #2386AF
tetradic
#AF2386 #AF9223 #23AF4C #2340AF
square
#AF2386 #AF9223 #23AF4C #2340AF
split-complementary
#AF2386 #40AF23 #23AF92
monochromatic
#490F38 #7C195F #AF2386 #D738A9 #E16BBF

Accessibility & contrast

On white

6.16
#AF2386 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AF2386 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2386
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2386#FFFFFF#000000##FFFFFF
##AF23861.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345389
Deuteranopia (green-blind)
#606983
Tritanopia (blue-blind)
#BB2353
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2386;
/* rgb */ color: rgb(175, 35, 134);
/* oklch */ color: oklch(52.0% 0.198 343.1);
Tailwind
colors: {
  custom: {
    50: '#cb6fa9',
    500: '#af2386',
    950: '#000000',
  },
}
SCSS
$custom: #af2386;
$custom-light: #cb6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#af2386",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 317.571,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52015,
    "c": 0.19817,
    "h": 343.1
  },
  "luminance": 0.12037
}

Semantic roles & 50–950 ramp

primary
#AF2386
secondary
#66C783
accent
#EA703E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AF2386

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

Preview Lab → · Contrast checker → · Palette generator →

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