#AF245A#AF245A

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

Color values

HEX#AF245A
RGBrgb(175, 36, 90)
HSLhsl(337, 66%, 41%)
HSVhsv(337, 79%, 69%)
CMYKcmyk(0%, 79.4%, 48.6%, 31.4%)
CIE-LABlab(39.78, 57.76, 3.71)
CIE-LCHlch(39.78, 57.88, 3.68°)
OKLaboklab(50.4% 0.1771 0.0101)
OKLCHoklch(50.4% 0.177 3.3)
XYZxyz(20.1573, 11.1167, 10.7552)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF245A #24AF79
analogous
#AF24A0 #AF245A #AF3424
triadic
#AF245A #5AAF24 #245AAF
tetradic
#AF245A #A0AF24 #24AF79 #3424AF
square
#AF245A #A0AF24 #24AF79 #3424AF
split-complementary
#AF245A #24AF34 #24A0AF
monochromatic
#490F26 #7C1A40 #AF245A #D63A77 #E16D9A

Accessibility & contrast

On white

6.52
#AF245A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AF245A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF245A
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF245A#FFFFFF#000000##FFFFFF
##AF245A1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474C5B
Deuteranopia (green-blind)
#6C6757
Tritanopia (blue-blind)
#BF003C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af245a;
/* rgb */ color: rgb(175, 36, 90);
/* oklch */ color: oklch(50.4% 0.177 3.3);
Tailwind
colors: {
  custom: {
    50: '#cd6e88',
    500: '#af245a',
    950: '#000000',
  },
}
SCSS
$custom: #af245a;
$custom-light: #cd6e88;
$custom-dark: #000000;
JSON
{
  "hex": "#af245a",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 90
  },
  "hsl": {
    "h": 336.691,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50398,
    "c": 0.17736,
    "h": 3.3
  },
  "luminance": 0.11114
}

Semantic roles & 50–950 ramp

primary
#AF245A
secondary
#68C7A2
accent
#E9A73F
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF245A

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

Preview Lab → · Contrast checker → · Palette generator →

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