#AF2B6A#AF2B6A

#AF2B6A is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.176 H 356.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AF2B6A
RGBrgb(175, 43, 106)
HSLhsl(331, 61%, 43%)
HSVhsv(331, 75%, 69%)
CMYKcmyk(0%, 75.4%, 39.4%, 31.4%)
CIE-LABlab(41.03, 57.14, -4.53)
CIE-LCHlch(41.03, 57.32, 355.47°)
OKLaboklab(51.48% 0.1755 -0.0112)
OKLCHoklch(51.48% 0.176 356.3)
XYZxyz(21.1461, 11.8850, 14.8134)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B6A #2BAF70
analogous
#AF2BAC #AF2B6A #AF2E2B
triadic
#AF2B6A #6AAF2B #2B6AAF
tetradic
#AF2B6A #ACAF2B #2BAF70 #2E2BAF
square
#AF2B6A #ACAF2B #2BAF70 #2E2BAF
split-complementary
#AF2B6A #2BAF2E #2BACAF
monochromatic
#4D132E #7E1F4C #AF2B6A #D14688 #DE77A8

Accessibility & contrast

On white

6.22
#AF2B6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AF2B6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B6A
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B6A#FFFFFF#000000##FFFFFF
##AF2B6A1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46516C
Deuteranopia (green-blind)
#6A6A67
Tritanopia (blue-blind)
#BD1A47
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2b6a;
/* rgb */ color: rgb(175, 43, 106);
/* oklch */ color: oklch(51.5% 0.176 356.3);
Tailwind
colors: {
  custom: {
    50: '#cc7194',
    500: '#af2b6a',
    950: '#000000',
  },
}
SCSS
$custom: #af2b6a;
$custom-light: #cc7194;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b6a",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 106
  },
  "hsl": {
    "h": 331.364,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51481,
    "c": 0.17586,
    "h": 356.3
  },
  "luminance": 0.11882
}

Semantic roles & 50–950 ramp

primary
#AF2B6A
secondary
#70C59D
accent
#E49844
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF2B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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