#AF2294#AF2294

#AF2294 is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.6% C 0.208 H 337.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AF2294
RGBrgb(175, 34, 148)
HSLhsl(311, 67%, 41%)
HSVhsv(311, 81%, 69%)
CMYKcmyk(0%, 80.6%, 15.4%, 31.4%)
CIE-LABlab(41.84, 64.93, -29.19)
CIE-LCHlch(41.84, 71.19, 335.79°)
OKLaboklab(52.63% 0.1921 -0.0794)
OKLCHoklch(52.63% 0.208 337.5)
XYZxyz(23.5970, 12.3984, 29.1616)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2294 #22AF3D
analogous
#8322AF #AF2294 #AF224E
triadic
#AF2294 #94AF22 #2294AF
tetradic
#AF2294 #AF8322 #22AF3D #224EAF
square
#AF2294 #AF8322 #22AF3D #224EAF
split-complementary
#AF2294 #4EAF22 #22AF83
monochromatic
#490E3D #7C1869 #AF2294 #D836B9 #E269CB

Accessibility & contrast

On white

6.04
#AF2294 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AF2294 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2294
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2294#FFFFFF#000000##FFFFFF
##AF22941.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285597
Deuteranopia (green-blind)
#5B6A91
Tritanopia (blue-blind)
#B92C5A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af2294;
/* rgb */ color: rgb(175, 34, 148);
/* oklch */ color: oklch(52.6% 0.208 337.5);
Tailwind
colors: {
  custom: {
    50: '#cb6fb4',
    500: '#af2294',
    950: '#000000',
  },
}
SCSS
$custom: #af2294;
$custom-light: #cb6fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#af2294",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 311.489,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52633,
    "c": 0.20786,
    "h": 337.5
  },
  "luminance": 0.12396
}

Semantic roles & 50–950 ramp

primary
#AF2294
secondary
#65C878
accent
#EA5F3D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #AF2294

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

Preview Lab → · Contrast checker → · Palette generator →

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