#AF3862#AF3862

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

Color values

HEX#AF3862
RGBrgb(175, 56, 98)
HSLhsl(339, 52%, 45%)
HSVhsv(339, 68%, 69%)
CMYKcmyk(0%, 68%, 44%, 31.4%)
CIE-LABlab(42.50, 51.54, 2.62)
CIE-LCHlch(42.50, 51.61, 2.91°)
OKLaboklab(52.48% 0.1576 0.0073)
OKLCHoklch(52.48% 0.158 2.7)
XYZxyz(21.2995, 12.8268, 12.9071)
Luminance0.1282 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3862 #38AF85
analogous
#AF389D #AF3862 #AF4A38
triadic
#AF3862 #62AF38 #3862AF
tetradic
#AF3862 #9DAF38 #38AF85 #4A38AF
square
#AF3862 #9DAF38 #38AF85 #4A38AF
split-complementary
#AF3862 #38AF4A #389DAF
monochromatic
#521A2E #812948 #AF3862 #CA5A82 #D988A5

Accessibility & contrast

On white

5.89
#AF3862 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AF3862 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3862
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3862#FFFFFF#000000##FFFFFF
##AF38621.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515663
Deuteranopia (green-blind)
#716D5F
Tritanopia (blue-blind)
#BE2849
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3862;
/* rgb */ color: rgb(175, 56, 98);
/* oklch */ color: oklch(52.5% 0.158 2.7);
Tailwind
colors: {
  custom: {
    50: '#cc778e',
    500: '#af3862',
    950: '#000000',
  },
}
SCSS
$custom: #af3862;
$custom-light: #cc778e;
$custom-dark: #000000;
JSON
{
  "hex": "#af3862",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 98
  },
  "hsl": {
    "h": 338.824,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52482,
    "c": 0.15779,
    "h": 2.7
  },
  "luminance": 0.12824
}

Semantic roles & 50–950 ramp

primary
#AF3862
secondary
#80C3AB
accent
#DBA94D
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF3862

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

Preview Lab → · Contrast checker → · Palette generator →

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