#AF248B#AF248B

#AF248B is a mid, highly saturated pink. Relative luminance 0.122; OKLCH L 52.3% C 0.200 H 341.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AF248B
RGBrgb(175, 36, 139)
HSLhsl(316, 66%, 41%)
HSVhsv(316, 79%, 69%)
CMYKcmyk(0%, 79.4%, 20.6%, 31.4%)
CIE-LABlab(41.60, 63.18, -24.09)
CIE-LCHlch(41.60, 67.61, 339.13°)
OKLaboklab(52.32% 0.1895 -0.0649)
OKLCHoklch(52.32% 0.2 341.1)
XYZxyz(22.9710, 12.2422, 25.5743)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF248B #24AF48
analogous
#8E24AF #AF248B #AF2445
triadic
#AF248B #8BAF24 #248BAF
tetradic
#AF248B #AF8E24 #24AF48 #2445AF
square
#AF248B #AF8E24 #24AF48 #2445AF
split-complementary
#AF248B #45AF24 #24AF8E
monochromatic
#490F3A #7C1A63 #AF248B #D63AAE #E16DC3

Accessibility & contrast

On white

6.09
#AF248B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AF248B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF248B
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF248B#FFFFFF#000000##FFFFFF
##AF248B1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31548E
Deuteranopia (green-blind)
#5F6A88
Tritanopia (blue-blind)
#BA2856
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af248b;
/* rgb */ color: rgb(175, 36, 139);
/* oklch */ color: oklch(52.3% 0.200 341.1);
Tailwind
colors: {
  custom: {
    50: '#cb6fad',
    500: '#af248b',
    950: '#000000',
  },
}
SCSS
$custom: #af248b;
$custom-light: #cb6fad;
$custom-dark: #000000;
JSON
{
  "hex": "#af248b",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 315.54,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52319,
    "c": 0.20031,
    "h": 341.1
  },
  "luminance": 0.1224
}

Semantic roles & 50–950 ramp

primary
#AF248B
secondary
#68C780
accent
#E96B3F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AF248B

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

Preview Lab → · Contrast checker → · Palette generator →

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