#AF2296#AF2296

#AF2296 is a mid, highly saturated pink. Relative luminance 0.125; OKLCH L 52.7% C 0.209 H 336.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AF2296
RGBrgb(175, 34, 150)
HSLhsl(311, 67%, 41%)
HSVhsv(311, 81%, 69%)
CMYKcmyk(0%, 80.6%, 14.3%, 31.4%)
CIE-LABlab(41.94, 65.21, -30.25)
CIE-LCHlch(41.94, 71.88, 335.12°)
OKLaboklab(52.74% 0.1922 -0.0825)
OKLCHoklch(52.74% 0.209 336.8)
XYZxyz(23.7567, 12.4623, 30.0026)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2296 #22AF3B
analogous
#8122AF #AF2296 #AF224F
triadic
#AF2296 #96AF22 #2296AF
tetradic
#AF2296 #AF8122 #22AF3B #224FAF
square
#AF2296 #AF8122 #22AF3B #224FAF
split-complementary
#AF2296 #4FAF22 #22AF81
monochromatic
#490E3E #7C186A #AF2296 #D836BB #E269CD

Accessibility & contrast

On white

6.01
#AF2296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AF2296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2296
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2296#FFFFFF#000000##FFFFFF
##AF22961.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265599
Deuteranopia (green-blind)
#5A6A93
Tritanopia (blue-blind)
#B92D5B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af2296;
/* rgb */ color: rgb(175, 34, 150);
/* oklch */ color: oklch(52.7% 0.209 336.8);
Tailwind
colors: {
  custom: {
    50: '#cb6fb5',
    500: '#af2296',
    950: '#000000',
  },
}
SCSS
$custom: #af2296;
$custom-light: #cb6fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#af2296",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 310.638,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52737,
    "c": 0.20918,
    "h": 336.8
  },
  "luminance": 0.1246
}

Semantic roles & 50–950 ramp

primary
#AF2296
secondary
#65C877
accent
#EA5C3D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #AF2296

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

Preview Lab → · Contrast checker → · Palette generator →

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