#AF2290#AF2290

#AF2290 is a mid, highly saturated pink. Relative luminance 0.123; OKLCH L 52.4% C 0.205 H 339.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AF2290
RGBrgb(175, 34, 144)
HSLhsl(313, 67%, 41%)
HSVhsv(313, 81%, 69%)
CMYKcmyk(0%, 80.6%, 17.7%, 31.4%)
CIE-LABlab(41.65, 64.38, -27.06)
CIE-LCHlch(41.65, 69.84, 337.20°)
OKLaboklab(52.43% 0.1917 -0.0734)
OKLCHoklch(52.43% 0.205 339.1)
XYZxyz(23.2859, 12.2740, 27.5229)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2290 #22AF41
analogous
#8722AF #AF2290 #AF224A
triadic
#AF2290 #90AF22 #2290AF
tetradic
#AF2290 #AF8722 #22AF41 #224AAF
square
#AF2290 #AF8722 #22AF41 #224AAF
split-complementary
#AF2290 #4AAF22 #22AF87
monochromatic
#490E3C #7C1866 #AF2290 #D836B4 #E269C7

Accessibility & contrast

On white

6.08
#AF2290 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AF2290 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2290
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2290#FFFFFF#000000##FFFFFF
##AF22901.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5493
Deuteranopia (green-blind)
#5C6A8D
Tritanopia (blue-blind)
#B92958
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2290;
/* rgb */ color: rgb(175, 34, 144);
/* oklch */ color: oklch(52.4% 0.205 339.1);
Tailwind
colors: {
  custom: {
    50: '#cb6fb1',
    500: '#af2290',
    950: '#000000',
  },
}
SCSS
$custom: #af2290;
$custom-light: #cb6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#af2290",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 313.191,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52431,
    "c": 0.20526,
    "h": 339.1
  },
  "luminance": 0.12272
}

Semantic roles & 50–950 ramp

primary
#AF2290
secondary
#65C87B
accent
#EA633D
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140810
muted
#837B7F

Preview Lab

Preview with #AF2290

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

Preview Lab → · Contrast checker → · Palette generator →

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