#AF2B67#AF2B67

#AF2B67 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.175 H 357.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AF2B67
RGBrgb(175, 43, 103)
HSLhsl(333, 61%, 43%)
HSVhsv(333, 75%, 69%)
CMYKcmyk(0%, 75.4%, 41.1%, 31.4%)
CIE-LABlab(40.93, 56.83, -2.80)
CIE-LCHlch(40.93, 56.90, 357.18°)
OKLaboklab(51.38% 0.1746 -0.0066)
OKLCHoklch(51.38% 0.175 357.8)
XYZxyz(20.9928, 11.8237, 14.0061)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B67 #2BAF73
analogous
#AF2BA9 #AF2B67 #AF312B
triadic
#AF2B67 #67AF2B #2B67AF
tetradic
#AF2B67 #A9AF2B #2BAF73 #312BAF
square
#AF2B67 #A9AF2B #2BAF73 #312BAF
split-complementary
#AF2B67 #2BAF31 #2BA9AF
monochromatic
#4D132D #7E1F4A #AF2B67 #D14685 #DE77A6

Accessibility & contrast

On white

6.24
#AF2B67 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AF2B67 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B67
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B67#FFFFFF#000000##FFFFFF
##AF2B671.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475169
Deuteranopia (green-blind)
#6B6A64
Tritanopia (blue-blind)
#BE1845
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2b67;
/* rgb */ color: rgb(175, 43, 103);
/* oklch */ color: oklch(51.4% 0.175 357.8);
Tailwind
colors: {
  custom: {
    50: '#cc7192',
    500: '#af2b67',
    950: '#000000',
  },
}
SCSS
$custom: #af2b67;
$custom-light: #cc7192;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b67",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 103
  },
  "hsl": {
    "h": 332.727,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51377,
    "c": 0.17468,
    "h": 357.8
  },
  "luminance": 0.11821
}

Semantic roles & 50–950 ramp

primary
#AF2B67
secondary
#70C59F
accent
#E49B44
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080D
muted
#837B7D

Preview Lab

Preview with #AF2B67

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

Preview Lab → · Contrast checker → · Palette generator →

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