#AF2253#AF2253

#AF2253 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.177 H 6.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#AF2253
RGBrgb(175, 34, 83)
HSLhsl(339, 67%, 41%)
HSVhsv(339, 81%, 69%)
CMYKcmyk(0%, 80.6%, 52.6%, 31.4%)
CIE-LABlab(39.39, 57.74, 7.61)
CIE-LCHlch(39.39, 58.24, 7.51°)
OKLaboklab(50.05% 0.1763 0.0197)
OKLCHoklch(50.05% 0.177 6.4)
XYZxyz(19.8144, 10.8854, 9.2397)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2253 #22AF7E
analogous
#AF2299 #AF2253 #AF3722
triadic
#AF2253 #53AF22 #2253AF
tetradic
#AF2253 #99AF22 #22AF7E #3722AF
square
#AF2253 #99AF22 #22AF7E #3722AF
split-complementary
#AF2253 #22AF37 #2299AF
monochromatic
#490E22 #7C183B #AF2253 #D8366E #E26993

Accessibility & contrast

On white

6.61
#AF2253 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AF2253 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2253
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2253#FFFFFF#000000##FFFFFF
##AF22531.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484B54
Deuteranopia (green-blind)
#6D6750
Tritanopia (blue-blind)
#BF0038
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2253;
/* rgb */ color: rgb(175, 34, 83);
/* oklch */ color: oklch(50.0% 0.177 6.4);
Tailwind
colors: {
  custom: {
    50: '#cd6d83',
    500: '#af2253',
    950: '#000000',
  },
}
SCSS
$custom: #af2253;
$custom-light: #cd6d83;
$custom-dark: #000000;
JSON
{
  "hex": "#af2253",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 83
  },
  "hsl": {
    "h": 339.149,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50049,
    "c": 0.17743,
    "h": 6.4
  },
  "luminance": 0.10883
}

Semantic roles & 50–950 ramp

primary
#AF2253
secondary
#65C8A5
accent
#EAAE3D
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2253

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

Preview Lab → · Contrast checker → · Palette generator →

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