#AF2966#AF2966

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

Color values

HEX#AF2966
RGBrgb(175, 41, 102)
HSLhsl(333, 62%, 42%)
HSVhsv(333, 77%, 69%)
CMYKcmyk(0%, 76.6%, 41.7%, 31.4%)
CIE-LABlab(40.67, 57.37, -2.55)
CIE-LCHlch(40.67, 57.43, 357.45°)
OKLaboklab(51.18% 0.1763 -0.006)
OKLCHoklch(51.18% 0.176 358.1)
XYZxyz(20.8719, 11.6618, 13.7197)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2966 #29AF72
analogous
#AF29A9 #AF2966 #AF2F29
triadic
#AF2966 #66AF29 #2966AF
tetradic
#AF2966 #A9AF29 #29AF72 #2F29AF
square
#AF2966 #A9AF29 #29AF72 #2F29AF
split-complementary
#AF2966 #29AF2F #29A9AF
monochromatic
#4C122C #7D1D49 #AF2966 #D34284 #DE74A4

Accessibility & contrast

On white

6.30
#AF2966 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AF2966 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2966
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2966#FFFFFF#000000##FFFFFF
##AF29661.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465068
Deuteranopia (green-blind)
#6B6963
Tritanopia (blue-blind)
#BE1344
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2966;
/* rgb */ color: rgb(175, 41, 102);
/* oklch */ color: oklch(51.2% 0.176 358.1);
Tailwind
colors: {
  custom: {
    50: '#cc7091',
    500: '#af2966',
    950: '#000000',
  },
}
SCSS
$custom: #af2966;
$custom-light: #cc7091;
$custom-dark: #000000;
JSON
{
  "hex": "#af2966",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 102
  },
  "hsl": {
    "h": 332.687,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51175,
    "c": 0.17639,
    "h": 358.1
  },
  "luminance": 0.11659
}

Semantic roles & 50–950 ramp

primary
#AF2966
secondary
#6EC69E
accent
#E59B43
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2966

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

Preview Lab → · Contrast checker → · Palette generator →

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