#AF2B6B#AF2B6B

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

Color values

HEX#AF2B6B
RGBrgb(175, 43, 107)
HSLhsl(331, 61%, 43%)
HSVhsv(331, 75%, 69%)
CMYKcmyk(0%, 75.4%, 38.9%, 31.4%)
CIE-LABlab(41.07, 57.25, -5.11)
CIE-LCHlch(41.07, 57.47, 354.90°)
OKLaboklab(51.52% 0.1758 -0.0127)
OKLCHoklch(51.52% 0.176 355.9)
XYZxyz(21.1984, 11.9059, 15.0888)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B6B #2BAF6F
analogous
#AF2BAD #AF2B6B #AF2D2B
triadic
#AF2B6B #6BAF2B #2B6BAF
tetradic
#AF2B6B #ADAF2B #2BAF6F #2D2BAF
square
#AF2B6B #ADAF2B #2BAF6F #2D2BAF
split-complementary
#AF2B6B #2BAF2D #2BADAF
monochromatic
#4D132F #7E1F4D #AF2B6B #D14689 #DE77A9

Accessibility & contrast

On white

6.21
#AF2B6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2B6B
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B6B#FFFFFF#000000##FFFFFF
##AF2B6B1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2b6b;
/* rgb */ color: rgb(175, 43, 107);
/* oklch */ color: oklch(51.5% 0.176 355.9);
Tailwind
colors: {
  custom: {
    50: '#cc7195',
    500: '#af2b6b',
    950: '#000000',
  },
}
SCSS
$custom: #af2b6b;
$custom-light: #cc7195;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b6b",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 107
  },
  "hsl": {
    "h": 330.909,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51517,
    "c": 0.17626,
    "h": 355.9
  },
  "luminance": 0.11903
}

Semantic roles & 50–950 ramp

primary
#AF2B6B
secondary
#70C59C
accent
#E49644
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF2B6B

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

Preview Lab → · Contrast checker → · Palette generator →

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