#AF2960#AF2960

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

Color values

HEX#AF2960
RGBrgb(175, 41, 96)
HSLhsl(335, 62%, 42%)
HSVhsv(335, 77%, 69%)
CMYKcmyk(0%, 76.6%, 45.1%, 31.4%)
CIE-LABlab(40.49, 56.79, 0.95)
CIE-LCHlch(40.49, 56.80, 0.96°)
OKLaboklab(50.98% 0.1743 0.0031)
OKLCHoklch(50.98% 0.174 1)
XYZxyz(20.5851, 11.5471, 12.2089)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2960 #29AF78
analogous
#AF29A3 #AF2960 #AF3529
triadic
#AF2960 #60AF29 #2960AF
tetradic
#AF2960 #A3AF29 #29AF78 #3529AF
square
#AF2960 #A3AF29 #29AF78 #3529AF
split-complementary
#AF2960 #29AF35 #29A3AF
monochromatic
#4C122A #7D1D45 #AF2960 #D3427E #DE74A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2960#FFFFFF#000000##FFFFFF
##AF29601.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)
#484F61
Deuteranopia (green-blind)
#6C695D
Tritanopia (blue-blind)
#BE0E41
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2960;
/* rgb */ color: rgb(175, 41, 96);
/* oklch */ color: oklch(51.0% 0.174 1.0);
Tailwind
colors: {
  custom: {
    50: '#cc708d',
    500: '#af2960',
    950: '#000000',
  },
}
SCSS
$custom: #af2960;
$custom-light: #cc708d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2960",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 96
  },
  "hsl": {
    "h": 335.373,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50977,
    "c": 0.17433,
    "h": 1
  },
  "luminance": 0.11544
}

Semantic roles & 50–950 ramp

primary
#AF2960
secondary
#6EC6A2
accent
#E5A243
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2960

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

Preview Lab → · Contrast checker → · Palette generator →

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