#AF2B4D#AF2B4D

#AF2B4D is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.6% C 0.168 H 10.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AF2B4D
RGBrgb(175, 43, 77)
HSLhsl(345, 61%, 43%)
HSVhsv(345, 75%, 69%)
CMYKcmyk(0%, 75.4%, 56%, 31.4%)
CIE-LABlab(40.21, 54.52, 12.57)
CIE-LCHlch(40.21, 55.95, 12.98°)
OKLaboklab(50.61% 0.1652 0.0316)
OKLCHoklch(50.61% 0.168 10.8)
XYZxyz(19.8845, 11.3804, 8.1693)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B4D #2BAF8D
analogous
#AF2B8F #AF2B4D #AF4B2B
triadic
#AF2B4D #4DAF2B #2B4DAF
tetradic
#AF2B4D #8FAF2B #2BAF8D #4B2BAF
square
#AF2B4D #8FAF2B #2BAF8D #4B2BAF
split-complementary
#AF2B4D #2BAF4B #2B8FAF
monochromatic
#4D1322 #7E1F37 #AF2B4D #D1466A #DE7791

Accessibility & contrast

On white

6.41
#AF2B4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AF2B4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B4D
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B4D#FFFFFF#000000##FFFFFF
##AF2B4D1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4E4E
Deuteranopia (green-blind)
#70684A
Tritanopia (blue-blind)
#BF0039
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2b4d;
/* rgb */ color: rgb(175, 43, 77);
/* oklch */ color: oklch(50.6% 0.168 10.8);
Tailwind
colors: {
  custom: {
    50: '#cd707e',
    500: '#af2b4d',
    950: '#000000',
  },
}
SCSS
$custom: #af2b4d;
$custom-light: #cd707e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b4d",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 77
  },
  "hsl": {
    "h": 344.545,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50611,
    "c": 0.16815,
    "h": 10.8
  },
  "luminance": 0.11378
}

Semantic roles & 50–950 ramp

primary
#AF2B4D
secondary
#70C5AF
accent
#E4BB44
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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