#AF2B4F#AF2B4F

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

Color values

HEX#AF2B4F
RGBrgb(175, 43, 79)
HSLhsl(344, 61%, 43%)
HSVhsv(344, 75%, 69%)
CMYKcmyk(0%, 75.4%, 54.9%, 31.4%)
CIE-LABlab(40.26, 54.67, 11.37)
CIE-LCHlch(40.26, 55.84, 11.75°)
OKLaboklab(50.66% 0.1659 0.0288)
OKLCHoklch(50.66% 0.168 9.8)
XYZxyz(19.9562, 11.4090, 8.5469)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B4F #2BAF8B
analogous
#AF2B91 #AF2B4F #AF492B
triadic
#AF2B4F #4FAF2B #2B4FAF
tetradic
#AF2B4F #91AF2B #2BAF8B #492BAF
square
#AF2B4F #91AF2B #2BAF8B #492BAF
split-complementary
#AF2B4F #2BAF49 #2B91AF
monochromatic
#4D1323 #7E1F39 #AF2B4F #D1466C #DE7793

Accessibility & contrast

On white

6.40
#AF2B4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2B4F
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B4F#FFFFFF#000000##FFFFFF
##AF2B4F1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4E50
Deuteranopia (green-blind)
#6F694C
Tritanopia (blue-blind)
#BF013A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2b4f;
/* rgb */ color: rgb(175, 43, 79);
/* oklch */ color: oklch(50.7% 0.168 9.8);
Tailwind
colors: {
  custom: {
    50: '#cd7080',
    500: '#af2b4f',
    950: '#000000',
  },
}
SCSS
$custom: #af2b4f;
$custom-light: #cd7080;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b4f",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 79
  },
  "hsl": {
    "h": 343.636,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50661,
    "c": 0.16841,
    "h": 9.8
  },
  "luminance": 0.11406
}

Semantic roles & 50–950 ramp

primary
#AF2B4F
secondary
#70C5AE
accent
#E4B844
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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