#AF2B6F#AF2B6F

#AF2B6F is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.178 H 353.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AF2B6F
RGBrgb(175, 43, 111)
HSLhsl(329, 61%, 43%)
HSVhsv(329, 75%, 69%)
CMYKcmyk(0%, 75.4%, 36.6%, 31.4%)
CIE-LABlab(41.20, 57.68, -7.40)
CIE-LCHlch(41.20, 58.15, 352.69°)
OKLaboklab(51.66% 0.177 -0.0188)
OKLCHoklch(51.66% 0.178 353.9)
XYZxyz(21.4137, 11.9920, 16.2229)
Luminance0.1199 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B6F #2BAF6B
analogous
#AD2BAF #AF2B6F #AF2B2D
triadic
#AF2B6F #6FAF2B #2B6FAF
tetradic
#AF2B6F #AFAD2B #2BAF6B #2B2DAF
square
#AF2B6F #AFAD2B #2BAF6B #2B2DAF
split-complementary
#AF2B6F #2DAF2B #2BAFAD
monochromatic
#4D1331 #7E1F50 #AF2B6F #D1468E #DE77AC

Accessibility & contrast

On white

6.18
#AF2B6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AF2B6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B6F
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B6F#FFFFFF#000000##FFFFFF
##AF2B6F1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445271
Deuteranopia (green-blind)
#696A6C
Tritanopia (blue-blind)
#BD1D49
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2b6f;
/* rgb */ color: rgb(175, 43, 111);
/* oklch */ color: oklch(51.7% 0.178 353.9);
Tailwind
colors: {
  custom: {
    50: '#cc7198',
    500: '#af2b6f',
    950: '#000000',
  },
}
SCSS
$custom: #af2b6f;
$custom-light: #cc7198;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b6f",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 111
  },
  "hsl": {
    "h": 329.091,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51662,
    "c": 0.17799,
    "h": 353.9
  },
  "luminance": 0.11989
}

Semantic roles & 50–950 ramp

primary
#AF2B6F
secondary
#70C59A
accent
#E49144
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF2B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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