#AF2B55#AF2B55

#AF2B55 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.169 H 6.8°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AF2B55
RGBrgb(175, 43, 85)
HSLhsl(341, 61%, 43%)
HSVhsv(341, 75%, 69%)
CMYKcmyk(0%, 75.4%, 51.4%, 31.4%)
CIE-LABlab(40.41, 55.16, 7.78)
CIE-LCHlch(40.41, 55.70, 8.03°)
OKLaboklab(50.82% 0.1682 0.0202)
OKLCHoklch(50.82% 0.169 6.8)
XYZxyz(20.1846, 11.5004, 9.7495)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B55 #2BAF85
analogous
#AF2B97 #AF2B55 #AF432B
triadic
#AF2B55 #55AF2B #2B55AF
tetradic
#AF2B55 #97AF2B #2BAF85 #432BAF
square
#AF2B55 #97AF2B #2BAF85 #432BAF
split-complementary
#AF2B55 #2BAF43 #2B97AF
monochromatic
#4D1325 #7E1F3D #AF2B55 #D14672 #DE7798

Accessibility & contrast

On white

6.36
#AF2B55 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AF2B55 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B55
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B55#FFFFFF#000000##FFFFFF
##AF2B551.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4E56
Deuteranopia (green-blind)
#6F6952
Tritanopia (blue-blind)
#BF083D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2b55;
/* rgb */ color: rgb(175, 43, 85);
/* oklch */ color: oklch(50.8% 0.169 6.8);
Tailwind
colors: {
  custom: {
    50: '#cd7084',
    500: '#af2b55',
    950: '#000000',
  },
}
SCSS
$custom: #af2b55;
$custom-light: #cd7084;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b55",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 85
  },
  "hsl": {
    "h": 340.909,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5082,
    "c": 0.16944,
    "h": 6.8
  },
  "luminance": 0.11498
}

Semantic roles & 50–950 ramp

primary
#AF2B55
secondary
#70C5AA
accent
#E4B144
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2B55

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

Preview Lab → · Contrast checker → · Palette generator →

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