#AF245D#AF245D

#AF245D is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.178 H 1.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AF245D
RGBrgb(175, 36, 93)
HSLhsl(335, 66%, 41%)
HSVhsv(335, 79%, 69%)
CMYKcmyk(0%, 79.4%, 46.9%, 31.4%)
CIE-LABlab(39.86, 58.02, 1.94)
CIE-LCHlch(39.86, 58.06, 1.91°)
OKLaboklab(50.49% 0.1781 0.0056)
OKLCHoklch(50.49% 0.178 1.8)
XYZxyz(20.2875, 11.1688, 11.4413)
Luminance0.1117 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF245D #24AF76
analogous
#AF24A3 #AF245D #AF3124
triadic
#AF245D #5DAF24 #245DAF
tetradic
#AF245D #A3AF24 #24AF76 #3124AF
square
#AF245D #A3AF24 #24AF76 #3124AF
split-complementary
#AF245D #24AF31 #24A3AF
monochromatic
#490F27 #7C1A42 #AF245D #D63A7A #E16D9C

Accessibility & contrast

On white

6.50
#AF245D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AF245D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF245D
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF245D#FFFFFF#000000##FFFFFF
##AF245D1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464D5E
Deuteranopia (green-blind)
#6B685A
Tritanopia (blue-blind)
#BE003E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af245d;
/* rgb */ color: rgb(175, 36, 93);
/* oklch */ color: oklch(50.5% 0.178 1.8);
Tailwind
colors: {
  custom: {
    50: '#cd6e8a',
    500: '#af245d',
    950: '#000000',
  },
}
SCSS
$custom: #af245d;
$custom-light: #cd6e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#af245d",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 335.396,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5049,
    "c": 0.17822,
    "h": 1.8
  },
  "luminance": 0.11166
}

Semantic roles & 50–950 ramp

primary
#AF245D
secondary
#68C7A0
accent
#E9A33F
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF245D

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

Preview Lab → · Contrast checker → · Palette generator →

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