#AF249B#AF249B

#AF249B is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.211 H 335.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AF249B
RGBrgb(175, 36, 155)
HSLhsl(309, 66%, 41%)
HSVhsv(309, 79%, 69%)
CMYKcmyk(0%, 79.4%, 11.4%, 31.4%)
CIE-LABlab(42.38, 65.40, -32.58)
CIE-LCHlch(42.38, 73.07, 333.52°)
OKLaboklab(53.13% 0.191 -0.0892)
OKLCHoklch(53.13% 0.211 335)
XYZxyz(24.2268, 12.7445, 32.1880)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF249B #24AF38
analogous
#7E24AF #AF249B #AF2456
triadic
#AF249B #9BAF24 #249BAF
tetradic
#AF249B #AF7E24 #24AF38 #2456AF
square
#AF249B #AF7E24 #24AF38 #2456AF
split-complementary
#AF249B #56AF24 #24AF7E
monochromatic
#490F41 #7C1A6E #AF249B #D63AC0 #E16DD0

Accessibility & contrast

On white

5.92
#AF249B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AF249B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF249B
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF249B#FFFFFF#000000##FFFFFF
##AF249B1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23579E
Deuteranopia (green-blind)
#586B98
Tritanopia (blue-blind)
#B8315F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af249b;
/* rgb */ color: rgb(175, 36, 155);
/* oklch */ color: oklch(53.1% 0.211 335.0);
Tailwind
colors: {
  custom: {
    50: '#cb70b9',
    500: '#af249b',
    950: '#000000',
  },
}
SCSS
$custom: #af249b;
$custom-light: #cb70b9;
$custom-dark: #000000;
JSON
{
  "hex": "#af249b",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 308.633,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5313,
    "c": 0.21079,
    "h": 335
  },
  "luminance": 0.12742
}

Semantic roles & 50–950 ramp

primary
#AF249B
secondary
#68C775
accent
#E9573F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #AF249B

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

Preview Lab → · Contrast checker → · Palette generator →

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