#AF3962#AF3962

#AF3962 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.6% C 0.157 H 2.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AF3962
RGBrgb(175, 57, 98)
HSLhsl(339, 51%, 45%)
HSVhsv(339, 67%, 69%)
CMYKcmyk(0%, 67.4%, 44%, 31.4%)
CIE-LABlab(42.65, 51.13, 2.83)
CIE-LCHlch(42.65, 51.21, 3.17°)
OKLaboklab(52.59% 0.1563 0.0079)
OKLCHoklch(52.59% 0.157 2.9)
XYZxyz(21.3485, 12.9247, 12.9234)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3962 #39AF86
analogous
#AF399D #AF3962 #AF4B39
triadic
#AF3962 #62AF39 #3962AF
tetradic
#AF3962 #9DAF39 #39AF86 #4B39AF
square
#AF3962 #9DAF39 #39AF86 #4B39AF
split-complementary
#AF3962 #39AF4B #399DAF
monochromatic
#531B2E #812A48 #AF3962 #CA5B82 #D98AA5

Accessibility & contrast

On white

5.86
#AF3962 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AF3962 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3962
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3962#FFFFFF#000000##FFFFFF
##AF39621.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525663
Deuteranopia (green-blind)
#716D5F
Tritanopia (blue-blind)
#BE2949
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3962;
/* rgb */ color: rgb(175, 57, 98);
/* oklch */ color: oklch(52.6% 0.157 2.9);
Tailwind
colors: {
  custom: {
    50: '#cc778e',
    500: '#af3962',
    950: '#000000',
  },
}
SCSS
$custom: #af3962;
$custom-light: #cc778e;
$custom-dark: #000000;
JSON
{
  "hex": "#af3962",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 98
  },
  "hsl": {
    "h": 339.153,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52592,
    "c": 0.15653,
    "h": 2.9
  },
  "luminance": 0.12922
}

Semantic roles & 50–950 ramp

primary
#AF3962
secondary
#81C3AC
accent
#DAA94D
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF3962

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

Preview Lab → · Contrast checker → · Palette generator →

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