#AF2B61#AF2B61

#AF2B61 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.173 H 0.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AF2B61
RGBrgb(175, 43, 97)
HSLhsl(335, 61%, 43%)
HSVhsv(335, 75%, 69%)
CMYKcmyk(0%, 75.4%, 44.6%, 31.4%)
CIE-LABlab(40.75, 56.24, 0.70)
CIE-LCHlch(40.75, 56.24, 0.71°)
OKLaboklab(51.18% 0.1726 0.0024)
OKLCHoklch(51.18% 0.173 0.8)
XYZxyz(20.7024, 11.7075, 12.4766)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B61 #2BAF79
analogous
#AF2BA3 #AF2B61 #AF372B
triadic
#AF2B61 #61AF2B #2B61AF
tetradic
#AF2B61 #A3AF2B #2BAF79 #372BAF
square
#AF2B61 #A3AF2B #2BAF79 #372BAF
split-complementary
#AF2B61 #2BAF37 #2BA3AF
monochromatic
#4D132B #7E1F46 #AF2B61 #D1467F #DE77A1

Accessibility & contrast

On white

6.29
#AF2B61 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AF2B61 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B61
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B61#FFFFFF#000000##FFFFFF
##AF2B611.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495062
Deuteranopia (green-blind)
#6C695E
Tritanopia (blue-blind)
#BE1342
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2b61;
/* rgb */ color: rgb(175, 43, 97);
/* oklch */ color: oklch(51.2% 0.173 0.8);
Tailwind
colors: {
  custom: {
    50: '#cc718d',
    500: '#af2b61',
    950: '#000000',
  },
}
SCSS
$custom: #af2b61;
$custom-light: #cc718d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b61",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 97
  },
  "hsl": {
    "h": 335.455,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51178,
    "c": 0.17259,
    "h": 0.8
  },
  "luminance": 0.11705
}

Semantic roles & 50–950 ramp

primary
#AF2B61
secondary
#70C5A3
accent
#E4A244
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2B61

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

Preview Lab → · Contrast checker → · Palette generator →

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