#AF2762#AF2762

#AF2762 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.9% C 0.177 H 359.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#AF2762
RGBrgb(175, 39, 98)
HSLhsl(334, 64%, 42%)
HSVhsv(334, 78%, 69%)
CMYKcmyk(0%, 77.7%, 44%, 31.4%)
CIE-LABlab(40.33, 57.60, -0.54)
CIE-LCHlch(40.33, 57.60, 359.46°)
OKLaboklab(50.88% 0.177 -0.0008)
OKLCHoklch(50.88% 0.177 359.8)
XYZxyz(20.6109, 11.4496, 12.6775)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2762 #27AF74
analogous
#AF27A6 #AF2762 #AF3027
triadic
#AF2762 #62AF27 #2762AF
tetradic
#AF2762 #A6AF27 #27AF74 #3027AF
square
#AF2762 #A6AF27 #27AF74 #3027AF
split-complementary
#AF2762 #27AF30 #27A6AF
monochromatic
#4B112A #7D1C46 #AF2762 #D43F80 #DF71A1

Accessibility & contrast

On white

6.38
#AF2762 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AF2762 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2762
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2762#FFFFFF#000000##FFFFFF
##AF27621.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464E63
Deuteranopia (green-blind)
#6B685F
Tritanopia (blue-blind)
#BE0B41
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2762;
/* rgb */ color: rgb(175, 39, 98);
/* oklch */ color: oklch(50.9% 0.177 359.8);
Tailwind
colors: {
  custom: {
    50: '#cc6f8e',
    500: '#af2762',
    950: '#000000',
  },
}
SCSS
$custom: #af2762;
$custom-light: #cc6f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2762",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 98
  },
  "hsl": {
    "h": 333.971,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5088,
    "c": 0.17698,
    "h": 359.8
  },
  "luminance": 0.11447
}

Semantic roles & 50–950 ramp

primary
#AF2762
secondary
#6BC69F
accent
#E79F41
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2762

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

Preview Lab → · Contrast checker → · Palette generator →

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