#AF225D#AF225D

#AF225D is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.180 H 1.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AF225D
RGBrgb(175, 34, 93)
HSLhsl(335, 67%, 41%)
HSVhsv(335, 81%, 69%)
CMYKcmyk(0%, 80.6%, 46.9%, 31.4%)
CIE-LABlab(39.67, 58.58, 1.65)
CIE-LCHlch(39.67, 58.61, 1.62°)
OKLaboklab(50.35% 0.1799 0.0049)
OKLCHoklch(50.35% 0.18 1.6)
XYZxyz(20.2287, 11.0511, 11.4217)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF225D #22AF74
analogous
#AF22A3 #AF225D #AF2E22
triadic
#AF225D #5DAF22 #225DAF
tetradic
#AF225D #A3AF22 #22AF74 #2E22AF
square
#AF225D #A3AF22 #22AF74 #2E22AF
split-complementary
#AF225D #22AF2E #22A3AF
monochromatic
#490E27 #7C1842 #AF225D #D8367A #E2699C

Accessibility & contrast

On white

6.54
#AF225D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AF225D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF225D
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF225D#FFFFFF#000000##FFFFFF
##AF225D1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454C5E
Deuteranopia (green-blind)
#6B675A
Tritanopia (blue-blind)
#BE003D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af225d;
/* rgb */ color: rgb(175, 34, 93);
/* oklch */ color: oklch(50.3% 0.180 1.6);
Tailwind
colors: {
  custom: {
    50: '#cd6d8a',
    500: '#af225d',
    950: '#000000',
  },
}
SCSS
$custom: #af225d;
$custom-light: #cd6d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#af225d",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 93
  },
  "hsl": {
    "h": 334.894,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50346,
    "c": 0.18,
    "h": 1.6
  },
  "luminance": 0.11048
}

Semantic roles & 50–950 ramp

primary
#AF225D
secondary
#65C89E
accent
#EAA23D
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF225D

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

Preview Lab → · Contrast checker → · Palette generator →

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