#AF2491#AF2491

#AF2491 is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.6% C 0.204 H 338.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AF2491
RGBrgb(175, 36, 145)
HSLhsl(313, 66%, 41%)
HSVhsv(313, 79%, 69%)
CMYKcmyk(0%, 79.4%, 17.1%, 31.4%)
CIE-LABlab(41.88, 63.99, -27.31)
CIE-LCHlch(41.88, 69.57, 336.89°)
OKLaboklab(52.61% 0.1902 -0.0741)
OKLCHoklch(52.61% 0.204 338.7)
XYZxyz(23.4215, 12.4224, 27.9468)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2491 #24AF42
analogous
#8824AF #AF2491 #AF244B
triadic
#AF2491 #91AF24 #2491AF
tetradic
#AF2491 #AF8824 #24AF42 #244BAF
square
#AF2491 #AF8824 #24AF42 #244BAF
split-complementary
#AF2491 #4BAF24 #24AF88
monochromatic
#490F3D #7C1A67 #AF2491 #D63AB5 #E16DC8

Accessibility & contrast

On white

6.03
#AF2491 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AF2491 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2491
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2491#FFFFFF#000000##FFFFFF
##AF24911.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5594
Deuteranopia (green-blind)
#5C6A8E
Tritanopia (blue-blind)
#B92B59
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af2491;
/* rgb */ color: rgb(175, 36, 145);
/* oklch */ color: oklch(52.6% 0.204 338.7);
Tailwind
colors: {
  custom: {
    50: '#cb70b1',
    500: '#af2491',
    950: '#000000',
  },
}
SCSS
$custom: #af2491;
$custom-light: #cb70b1;
$custom-dark: #000000;
JSON
{
  "hex": "#af2491",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 312.95,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52613,
    "c": 0.20413,
    "h": 338.7
  },
  "luminance": 0.1242
}

Semantic roles & 50–950 ramp

primary
#AF2491
secondary
#68C77C
accent
#E9643F
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140811
muted
#837B80

Preview Lab

Preview with #AF2491

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

Preview Lab → · Contrast checker → · Palette generator →

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