#AF2B6D#AF2B6D

#AF2B6D is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.177 H 354.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AF2B6D
RGBrgb(175, 43, 109)
HSLhsl(330, 61%, 43%)
HSVhsv(330, 75%, 69%)
CMYKcmyk(0%, 75.4%, 37.7%, 31.4%)
CIE-LABlab(41.13, 57.46, -6.26)
CIE-LCHlch(41.13, 57.80, 353.79°)
OKLaboklab(51.59% 0.1764 -0.0158)
OKLCHoklch(51.59% 0.177 354.9)
XYZxyz(21.3048, 11.9485, 15.6494)
Luminance0.1195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B6D #2BAF6D
analogous
#AF2BAF #AF2B6D #AF2B2B
triadic
#AF2B6D #6DAF2B #2B6DAF
tetradic
#AF2B6D #AFAF2B #2BAF6D #2B2BAF
square
#AF2B6D #AFAF2B #2BAF6D #2B2BAF
split-complementary
#AF2B6D #2BAF2B #2BAFAF
monochromatic
#4D1330 #7E1F4E #AF2B6D #D1468C #DE77AA

Accessibility & contrast

On white

6.20
#AF2B6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AF2B6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B6D
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B6D#FFFFFF#000000##FFFFFF
##AF2B6D1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45516F
Deuteranopia (green-blind)
#6A6A6A
Tritanopia (blue-blind)
#BD1C48
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2b6d;
/* rgb */ color: rgb(175, 43, 109);
/* oklch */ color: oklch(51.6% 0.177 354.9);
Tailwind
colors: {
  custom: {
    50: '#cc7196',
    500: '#af2b6d',
    950: '#000000',
  },
}
SCSS
$custom: #af2b6d;
$custom-light: #cc7196;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b6d",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 109
  },
  "hsl": {
    "h": 330,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51589,
    "c": 0.1771,
    "h": 354.9
  },
  "luminance": 0.11946
}

Semantic roles & 50–950 ramp

primary
#AF2B6D
secondary
#70C59B
accent
#E49444
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF2B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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