#AF2B4E#AF2B4E

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

Color values

HEX#AF2B4E
RGBrgb(175, 43, 78)
HSLhsl(344, 61%, 43%)
HSVhsv(344, 75%, 69%)
CMYKcmyk(0%, 75.4%, 55.4%, 31.4%)
CIE-LABlab(40.24, 54.60, 11.97)
CIE-LCHlch(40.24, 55.89, 12.36°)
OKLaboklab(50.64% 0.1655 0.0302)
OKLCHoklch(50.64% 0.168 10.3)
XYZxyz(19.9201, 11.3946, 8.3567)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B4E #2BAF8C
analogous
#AF2B90 #AF2B4E #AF4A2B
triadic
#AF2B4E #4EAF2B #2B4EAF
tetradic
#AF2B4E #90AF2B #2BAF8C #4A2BAF
square
#AF2B4E #90AF2B #2BAF8C #4A2BAF
split-complementary
#AF2B4E #2BAF4A #2B90AF
monochromatic
#4D1322 #7E1F38 #AF2B4E #D1466B #DE7792

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2B4E#FFFFFF#000000##FFFFFF
##AF2B4E1.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)
#4D4E4F
Deuteranopia (green-blind)
#70694B
Tritanopia (blue-blind)
#BF003A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2b4e;
/* rgb */ color: rgb(175, 43, 78);
/* oklch */ color: oklch(50.6% 0.168 10.3);
Tailwind
colors: {
  custom: {
    50: '#cd707f',
    500: '#af2b4e',
    950: '#000000',
  },
}
SCSS
$custom: #af2b4e;
$custom-light: #cd707f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b4e",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 344.091,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50636,
    "c": 0.16828,
    "h": 10.3
  },
  "luminance": 0.11392
}

Semantic roles & 50–950 ramp

primary
#AF2B4E
secondary
#70C5AF
accent
#E4B944
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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