#AF248D#AF248D

#AF248D is a mid, highly saturated pink. Relative luminance 0.123; OKLCH L 52.4% C 0.202 H 340.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AF248D
RGBrgb(175, 36, 141)
HSLhsl(315, 66%, 41%)
HSVhsv(315, 79%, 69%)
CMYKcmyk(0%, 79.4%, 19.4%, 31.4%)
CIE-LABlab(41.69, 63.44, -25.17)
CIE-LCHlch(41.69, 68.25, 338.36°)
OKLaboklab(52.42% 0.1898 -0.068)
OKLCHoklch(52.42% 0.202 340.3)
XYZxyz(23.1185, 12.3012, 26.3510)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF248D #24AF46
analogous
#8C24AF #AF248D #AF2448
triadic
#AF248D #8DAF24 #248DAF
tetradic
#AF248D #AF8C24 #24AF46 #2448AF
square
#AF248D #AF8C24 #24AF46 #2448AF
split-complementary
#AF248D #48AF24 #24AF8C
monochromatic
#490F3B #7C1A64 #AF248D #D63AB0 #E16DC4

Accessibility & contrast

On white

6.07
#AF248D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AF248D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF248D
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF248D#FFFFFF#000000##FFFFFF
##AF248D1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305490
Deuteranopia (green-blind)
#5E6A8A
Tritanopia (blue-blind)
#BA2957
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af248d;
/* rgb */ color: rgb(175, 36, 141);
/* oklch */ color: oklch(52.4% 0.202 340.3);
Tailwind
colors: {
  custom: {
    50: '#cb6fae',
    500: '#af248d',
    950: '#000000',
  },
}
SCSS
$custom: #af248d;
$custom-light: #cb6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#af248d",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 314.676,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52415,
    "c": 0.20156,
    "h": 340.3
  },
  "luminance": 0.12299
}

Semantic roles & 50–950 ramp

primary
#AF248D
secondary
#68C77F
accent
#E9693F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AF248D

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

Preview Lab → · Contrast checker → · Palette generator →

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