#AF2962#AF2962

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

Color values

HEX#AF2962
RGBrgb(175, 41, 98)
HSLhsl(334, 62%, 42%)
HSVhsv(334, 77%, 69%)
CMYKcmyk(0%, 76.6%, 44%, 31.4%)
CIE-LABlab(40.55, 56.98, -0.22)
CIE-LCHlch(40.55, 56.98, 359.78°)
OKLaboklab(51.04% 0.175 0.0001)
OKLCHoklch(51.04% 0.175 0)
XYZxyz(20.6783, 11.5844, 12.7000)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2962 #29AF76
analogous
#AF29A5 #AF2962 #AF3329
triadic
#AF2962 #62AF29 #2962AF
tetradic
#AF2962 #A5AF29 #29AF76 #3329AF
square
#AF2962 #A5AF29 #29AF76 #3329AF
split-complementary
#AF2962 #29AF33 #29A5AF
monochromatic
#4C122A #7D1D46 #AF2962 #D34280 #DE74A1

Accessibility & contrast

On white

6.33
#AF2962 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AF2962 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2962
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2962#FFFFFF#000000##FFFFFF
##AF29621.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474F63
Deuteranopia (green-blind)
#6C695F
Tritanopia (blue-blind)
#BE1042
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2962;
/* rgb */ color: rgb(175, 41, 98);
/* oklch */ color: oklch(51.0% 0.175 0.0);
Tailwind
colors: {
  custom: {
    50: '#cc708e',
    500: '#af2962',
    950: '#000000',
  },
}
SCSS
$custom: #af2962;
$custom-light: #cc708e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2962",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 98
  },
  "hsl": {
    "h": 334.478,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51042,
    "c": 0.17498,
    "h": 0
  },
  "luminance": 0.11582
}

Semantic roles & 50–950 ramp

primary
#AF2962
secondary
#6EC6A0
accent
#E5A043
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2962

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

Preview Lab → · Contrast checker → · Palette generator →

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