#AF2B58#AF2B58

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

Color values

HEX#AF2B58
RGBrgb(175, 43, 88)
HSLhsl(340, 61%, 43%)
HSVhsv(340, 75%, 69%)
CMYKcmyk(0%, 75.4%, 49.7%, 31.4%)
CIE-LABlab(40.49, 55.41, 6.00)
CIE-LCHlch(40.49, 55.74, 6.18°)
OKLaboklab(50.91% 0.1694 0.0158)
OKLCHoklch(50.91% 0.17 5.3)
XYZxyz(20.3063, 11.5491, 10.3905)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B58 #2BAF82
analogous
#AF2B9A #AF2B58 #AF402B
triadic
#AF2B58 #58AF2B #2B58AF
tetradic
#AF2B58 #9AAF2B #2BAF82 #402BAF
square
#AF2B58 #9AAF2B #2BAF82 #402BAF
split-complementary
#AF2B58 #2BAF40 #2B9AAF
monochromatic
#4D1327 #7E1F3F #AF2B58 #D14675 #DE779A

Accessibility & contrast

On white

6.35
#AF2B58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AF2B58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B58
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B58#FFFFFF#000000##FFFFFF
##AF2B581.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4F59
Deuteranopia (green-blind)
#6E6955
Tritanopia (blue-blind)
#BF0B3E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2b58;
/* rgb */ color: rgb(175, 43, 88);
/* oklch */ color: oklch(50.9% 0.170 5.3);
Tailwind
colors: {
  custom: {
    50: '#cd7086',
    500: '#af2b58',
    950: '#000000',
  },
}
SCSS
$custom: #af2b58;
$custom-light: #cd7086;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b58",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 88
  },
  "hsl": {
    "h": 339.545,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50905,
    "c": 0.17009,
    "h": 5.3
  },
  "luminance": 0.11546
}

Semantic roles & 50–950 ramp

primary
#AF2B58
secondary
#70C5A8
accent
#E4AD44
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF2B58

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

Preview Lab → · Contrast checker → · Palette generator →

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