#AF2B76#AF2B76

#AF2B76 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.181 H 350.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AF2B76
RGBrgb(175, 43, 118)
HSLhsl(326, 61%, 43%)
HSVhsv(326, 75%, 69%)
CMYKcmyk(0%, 75.4%, 32.6%, 31.4%)
CIE-LABlab(41.46, 58.47, -11.37)
CIE-LCHlch(41.46, 59.56, 348.99°)
OKLaboklab(51.93% 0.1789 -0.0296)
OKLCHoklch(51.93% 0.181 350.6)
XYZxyz(21.8143, 12.1523, 18.3329)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B76 #2BAF64
analogous
#A62BAF #AF2B76 #AF2B34
triadic
#AF2B76 #76AF2B #2B76AF
tetradic
#AF2B76 #AFA62B #2BAF64 #2B34AF
square
#AF2B76 #AFA62B #2BAF64 #2B34AF
split-complementary
#AF2B76 #34AF2B #2BAFA6
monochromatic
#4D1334 #7E1F55 #AF2B76 #D14695 #DE77B1

Accessibility & contrast

On white

6.12
#AF2B76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AF2B76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B76
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B76#FFFFFF#000000##FFFFFF
##AF2B761.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415378
Deuteranopia (green-blind)
#676A73
Tritanopia (blue-blind)
#BC224D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2b76;
/* rgb */ color: rgb(175, 43, 118);
/* oklch */ color: oklch(51.9% 0.181 350.6);
Tailwind
colors: {
  custom: {
    50: '#cb719d',
    500: '#af2b76',
    950: '#000000',
  },
}
SCSS
$custom: #af2b76;
$custom-light: #cb719d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b76",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 325.909,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51931,
    "c": 0.18132,
    "h": 350.6
  },
  "luminance": 0.1215
}

Semantic roles & 50–950 ramp

primary
#AF2B76
secondary
#70C595
accent
#E48944
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF2B76

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

Preview Lab → · Contrast checker → · Palette generator →

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