#AF3462#AF3462

#AF3462 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.1% C 0.163 H 1.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AF3462
RGBrgb(175, 52, 98)
HSLhsl(338, 54%, 45%)
HSVhsv(338, 70%, 69%)
CMYKcmyk(0%, 70.3%, 44%, 31.4%)
CIE-LABlab(41.93, 53.12, 1.79)
CIE-LCHlch(41.93, 53.15, 1.93°)
OKLaboklab(52.06% 0.1626 0.0052)
OKLCHoklch(52.06% 0.163 1.8)
XYZxyz(21.1134, 12.4544, 12.8450)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3462 #34AF81
analogous
#AF34A0 #AF3462 #AF4434
triadic
#AF3462 #62AF34 #3462AF
tetradic
#AF3462 #A0AF34 #34AF81 #4434AF
square
#AF3462 #A0AF34 #34AF81 #4434AF
split-complementary
#AF3462 #34AF44 #34A0AF
monochromatic
#51182D #802648 #AF3462 #CC5481 #DA83A4

Accessibility & contrast

On white

6.02
#AF3462 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AF3462 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3462
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3462#FFFFFF#000000##FFFFFF
##AF34621.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5463
Deuteranopia (green-blind)
#6F6C5F
Tritanopia (blue-blind)
#BE2247
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af3462;
/* rgb */ color: rgb(175, 52, 98);
/* oklch */ color: oklch(52.1% 0.163 1.8);
Tailwind
colors: {
  custom: {
    50: '#cc758e',
    500: '#af3462',
    950: '#000000',
  },
}
SCSS
$custom: #af3462;
$custom-light: #cc758e;
$custom-dark: #000000;
JSON
{
  "hex": "#af3462",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 98
  },
  "hsl": {
    "h": 337.561,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52059,
    "c": 0.16272,
    "h": 1.8
  },
  "luminance": 0.12452
}

Semantic roles & 50–950 ramp

primary
#AF3462
secondary
#7BC4A9
accent
#DEA64A
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF3462

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

Preview Lab → · Contrast checker → · Palette generator →

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