#AF2B62#AF2B62

#AF2B62 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.173 H 0.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AF2B62
RGBrgb(175, 43, 98)
HSLhsl(335, 61%, 43%)
HSVhsv(335, 75%, 69%)
CMYKcmyk(0%, 75.4%, 44%, 31.4%)
CIE-LABlab(40.78, 56.33, 0.11)
CIE-LCHlch(40.78, 56.33, 0.12°)
OKLaboklab(51.21% 0.1729 0.0009)
OKLCHoklch(51.21% 0.173 0.3)
XYZxyz(20.7493, 11.7263, 12.7237)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B62 #2BAF78
analogous
#AF2BA4 #AF2B62 #AF362B
triadic
#AF2B62 #62AF2B #2B62AF
tetradic
#AF2B62 #A4AF2B #2BAF78 #362BAF
square
#AF2B62 #A4AF2B #2BAF78 #362BAF
split-complementary
#AF2B62 #2BAF36 #2BA4AF
monochromatic
#4D132B #7E1F46 #AF2B62 #D14680 #DE77A2

Accessibility & contrast

On white

6.28
#AF2B62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AF2B62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B62
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B62#FFFFFF#000000##FFFFFF
##AF2B621.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485063
Deuteranopia (green-blind)
#6C695F
Tritanopia (blue-blind)
#BE1443
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2b62;
/* rgb */ color: rgb(175, 43, 98);
/* oklch */ color: oklch(51.2% 0.173 0.3);
Tailwind
colors: {
  custom: {
    50: '#cc718e',
    500: '#af2b62',
    950: '#000000',
  },
}
SCSS
$custom: #af2b62;
$custom-light: #cc718e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b62",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 98
  },
  "hsl": {
    "h": 335,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5121,
    "c": 0.17291,
    "h": 0.3
  },
  "luminance": 0.11724
}

Semantic roles & 50–950 ramp

primary
#AF2B62
secondary
#70C5A2
accent
#E4A144
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2B62

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

Preview Lab → · Contrast checker → · Palette generator →

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