#AF2691#AF2691

#AF2691 is a mid, highly saturated pink. Relative luminance 0.125; OKLCH L 52.8% C 0.202 H 338.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AF2691
RGBrgb(175, 38, 145)
HSLhsl(313, 64%, 42%)
HSVhsv(313, 78%, 69%)
CMYKcmyk(0%, 78.3%, 17.1%, 31.4%)
CIE-LABlab(42.07, 63.44, -27.01)
CIE-LCHlch(42.07, 68.95, 336.94°)
OKLaboklab(52.75% 0.1885 -0.0732)
OKLCHoklch(52.75% 0.202 338.8)
XYZxyz(23.4837, 12.5468, 27.9676)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2691 #26AF44
analogous
#8926AF #AF2691 #AF264C
triadic
#AF2691 #91AF26 #2691AF
tetradic
#AF2691 #AF8926 #26AF44 #264CAF
square
#AF2691 #AF8926 #26AF44 #264CAF
split-complementary
#AF2691 #4CAF26 #26AF89
monochromatic
#4A103E #7D1B67 #AF2691 #D53DB4 #E070C7

Accessibility & contrast

On white

5.98
#AF2691 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AF2691 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2691
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2691#FFFFFF#000000##FFFFFF
##AF26911.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5694
Deuteranopia (green-blind)
#5D6B8E
Tritanopia (blue-blind)
#B92D5A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af2691;
/* rgb */ color: rgb(175, 38, 145);
/* oklch */ color: oklch(52.8% 0.202 338.8);
Tailwind
colors: {
  custom: {
    50: '#cb70b1',
    500: '#af2691',
    950: '#000000',
  },
}
SCSS
$custom: #af2691;
$custom-light: #cb70b1;
$custom-dark: #000000;
JSON
{
  "hex": "#af2691",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 313.139,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52751,
    "c": 0.20227,
    "h": 338.8
  },
  "luminance": 0.12545
}

Semantic roles & 50–950 ramp

primary
#AF2691
secondary
#6AC77E
accent
#E76540
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140911
muted
#837B80

Preview Lab

Preview with #AF2691

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

Preview Lab → · Contrast checker → · Palette generator →

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