#AF2273#AF2273

#AF2273 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.1% C 0.189 H 351.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AF2273
RGBrgb(175, 34, 115)
HSLhsl(326, 67%, 41%)
HSVhsv(326, 81%, 69%)
CMYKcmyk(0%, 80.6%, 34.3%, 31.4%)
CIE-LABlab(40.41, 60.79, -11.09)
CIE-LCHlch(40.41, 61.80, 349.66°)
OKLaboklab(51.13% 0.1865 -0.0288)
OKLCHoklch(51.13% 0.189 351.2)
XYZxyz(21.3470, 11.4984, 17.3116)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2273 #22AF5E
analogous
#A422AF #AF2273 #AF222C
triadic
#AF2273 #73AF22 #2273AF
tetradic
#AF2273 #AFA422 #22AF5E #222CAF
square
#AF2273 #AFA422 #22AF5E #222CAF
split-complementary
#AF2273 #2CAF22 #22AFA4
monochromatic
#490E30 #7C1851 #AF2273 #D83693 #E269AF

Accessibility & contrast

On white

6.37
#AF2273 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AF2273 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2273
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2273#FFFFFF#000000##FFFFFF
##AF22731.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4F75
Deuteranopia (green-blind)
#666870
Tritanopia (blue-blind)
#BD1348
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2273;
/* rgb */ color: rgb(175, 34, 115);
/* oklch */ color: oklch(51.1% 0.189 351.2);
Tailwind
colors: {
  custom: {
    50: '#cc6e9b',
    500: '#af2273',
    950: '#000000',
  },
}
SCSS
$custom: #af2273;
$custom-light: #cc6e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#af2273",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 325.532,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51129,
    "c": 0.18874,
    "h": 351.2
  },
  "luminance": 0.11496
}

Semantic roles & 50–950 ramp

primary
#AF2273
secondary
#65C88F
accent
#EA873D
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AF2273

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

Preview Lab → · Contrast checker → · Palette generator →

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