#AF225E#AF225E

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

Color values

HEX#AF225E
RGBrgb(175, 34, 94)
HSLhsl(334, 67%, 41%)
HSVhsv(334, 81%, 69%)
CMYKcmyk(0%, 80.6%, 46.3%, 31.4%)
CIE-LABlab(39.70, 58.67, 1.06)
CIE-LCHlch(39.70, 58.68, 1.04°)
OKLaboklab(50.38% 0.1803 0.0034)
OKLCHoklch(50.38% 0.18 1.1)
XYZxyz(20.2733, 11.0689, 11.6565)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF225E #22AF73
analogous
#AF22A4 #AF225E #AF2C22
triadic
#AF225E #5EAF22 #225EAF
tetradic
#AF225E #A4AF22 #22AF73 #2C22AF
square
#AF225E #A4AF22 #22AF73 #2C22AF
split-complementary
#AF225E #22AF2C #22A4AF
monochromatic
#490E27 #7C1842 #AF225E #D8367B #E2699D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF225E#FFFFFF#000000##FFFFFF
##AF225E1.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)
#454C5F
Deuteranopia (green-blind)
#6B675B
Tritanopia (blue-blind)
#BE003D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af225e;
/* rgb */ color: rgb(175, 34, 94);
/* oklch */ color: oklch(50.4% 0.180 1.1);
Tailwind
colors: {
  custom: {
    50: '#cd6d8b',
    500: '#af225e',
    950: '#000000',
  },
}
SCSS
$custom: #af225e;
$custom-light: #cd6d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#af225e",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 94
  },
  "hsl": {
    "h": 334.468,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50377,
    "c": 0.1803,
    "h": 1.1
  },
  "luminance": 0.11066
}

Semantic roles & 50–950 ramp

primary
#AF225E
secondary
#65C89E
accent
#EAA13D
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #AF225E

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

Preview Lab → · Contrast checker → · Palette generator →

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