#AF2B56#AF2B56

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

Color values

HEX#AF2B56
RGBrgb(175, 43, 86)
HSLhsl(340, 61%, 43%)
HSVhsv(340, 75%, 69%)
CMYKcmyk(0%, 75.4%, 50.9%, 31.4%)
CIE-LABlab(40.44, 55.24, 7.19)
CIE-LCHlch(40.44, 55.71, 7.42°)
OKLaboklab(50.85% 0.1686 0.0187)
OKLCHoklch(50.85% 0.17 6.3)
XYZxyz(20.2246, 11.5164, 9.9602)
Luminance0.1151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B56 #2BAF84
analogous
#AF2B98 #AF2B56 #AF422B
triadic
#AF2B56 #56AF2B #2B56AF
tetradic
#AF2B56 #98AF2B #2BAF84 #422BAF
square
#AF2B56 #98AF2B #2BAF84 #422BAF
split-complementary
#AF2B56 #2BAF42 #2B98AF
monochromatic
#4D1326 #7E1F3E #AF2B56 #D14673 #DE7798

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2B56#FFFFFF#000000##FFFFFF
##AF2B561.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)
#4C4F57
Deuteranopia (green-blind)
#6E6953
Tritanopia (blue-blind)
#BF093D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2b56;
/* rgb */ color: rgb(175, 43, 86);
/* oklch */ color: oklch(50.8% 0.170 6.3);
Tailwind
colors: {
  custom: {
    50: '#cd7085',
    500: '#af2b56',
    950: '#000000',
  },
}
SCSS
$custom: #af2b56;
$custom-light: #cd7085;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b56",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 86
  },
  "hsl": {
    "h": 340.455,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50848,
    "c": 0.16965,
    "h": 6.3
  },
  "luminance": 0.11514
}

Semantic roles & 50–950 ramp

primary
#AF2B56
secondary
#70C5AA
accent
#E4B044
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF2B56

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

Preview Lab → · Contrast checker → · Palette generator →

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