#AF2961#AF2961

#AF2961 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.175 H 0.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AF2961
RGBrgb(175, 41, 97)
HSLhsl(335, 62%, 42%)
HSVhsv(335, 77%, 69%)
CMYKcmyk(0%, 76.6%, 44.6%, 31.4%)
CIE-LABlab(40.52, 56.88, 0.36)
CIE-LCHlch(40.52, 56.88, 0.37°)
OKLaboklab(51.01% 0.1746 0.0016)
OKLCHoklch(51.01% 0.175 0.5)
XYZxyz(20.6314, 11.5656, 12.4529)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2961 #29AF77
analogous
#AF29A4 #AF2961 #AF3429
triadic
#AF2961 #61AF29 #2961AF
tetradic
#AF2961 #A4AF29 #29AF77 #3429AF
square
#AF2961 #A4AF29 #29AF77 #3429AF
split-complementary
#AF2961 #29AF34 #29A4AF
monochromatic
#4C122A #7D1D46 #AF2961 #D3427F #DE74A0

Accessibility & contrast

On white

6.34
#AF2961 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2961
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2961#FFFFFF#000000##FFFFFF
##AF29611.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484F62
Deuteranopia (green-blind)
#6C695E
Tritanopia (blue-blind)
#BE0F42
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2961;
/* rgb */ color: rgb(175, 41, 97);
/* oklch */ color: oklch(51.0% 0.175 0.5);
Tailwind
colors: {
  custom: {
    50: '#cc708d',
    500: '#af2961',
    950: '#000000',
  },
}
SCSS
$custom: #af2961;
$custom-light: #cc708d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2961",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 97
  },
  "hsl": {
    "h": 334.925,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51009,
    "c": 0.17465,
    "h": 0.5
  },
  "luminance": 0.11563
}

Semantic roles & 50–950 ramp

primary
#AF2961
secondary
#6EC6A1
accent
#E5A143
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2961

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

Preview Lab → · Contrast checker → · Palette generator →

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