#AF2247#AF2247

#AF2247 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.176 H 12.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#AF2247
RGBrgb(175, 34, 71)
HSLhsl(344, 67%, 41%)
HSVhsv(344, 81%, 69%)
CMYKcmyk(0%, 80.6%, 59.4%, 31.4%)
CIE-LABlab(39.10, 56.85, 14.85)
CIE-LCHlch(39.10, 58.76, 14.64°)
OKLaboklab(49.74% 0.1717 0.0368)
OKLCHoklch(49.74% 0.176 12.1)
XYZxyz(19.3905, 10.7158, 7.0074)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2247 #22AF8A
analogous
#AF228D #AF2247 #AF4322
triadic
#AF2247 #47AF22 #2247AF
tetradic
#AF2247 #8DAF22 #22AF8A #4322AF
square
#AF2247 #8DAF22 #22AF8A #4322AF
split-complementary
#AF2247 #22AF43 #228DAF
monochromatic
#490E1D #7C1832 #AF2247 #D83661 #E26989

Accessibility & contrast

On white

6.68
#AF2247 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#AF2247 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2247
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2247#FFFFFF#000000##FFFFFF
##AF22471.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4A47
Deuteranopia (green-blind)
#6E6643
Tritanopia (blue-blind)
#C00032
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2247;
/* rgb */ color: rgb(175, 34, 71);
/* oklch */ color: oklch(49.7% 0.176 12.1);
Tailwind
colors: {
  custom: {
    50: '#ce6c79',
    500: '#af2247',
    950: '#000000',
  },
}
SCSS
$custom: #af2247;
$custom-light: #ce6c79;
$custom-dark: #000000;
JSON
{
  "hex": "#af2247",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 344.255,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49742,
    "c": 0.17559,
    "h": 12.1
  },
  "luminance": 0.10713
}

Semantic roles & 50–950 ramp

primary
#AF2247
secondary
#65C8AE
accent
#EABD3D
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #AF2247

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

Preview Lab → · Contrast checker → · Palette generator →

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