#AF2661#AF2661

#AF2661 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.178 H 0.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#AF2661
RGBrgb(175, 38, 97)
HSLhsl(334, 64%, 42%)
HSVhsv(334, 78%, 69%)
CMYKcmyk(0%, 78.3%, 44.6%, 31.4%)
CIE-LABlab(40.19, 57.81, -0.11)
CIE-LCHlch(40.19, 57.81, 359.89°)
OKLaboklab(50.77% 0.1776 0.0004)
OKLCHoklch(50.77% 0.178 0.1)
XYZxyz(20.5316, 11.3660, 12.4196)
Luminance0.1136 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2661 #26AF74
analogous
#AF26A5 #AF2661 #AF3026
triadic
#AF2661 #61AF26 #2661AF
tetradic
#AF2661 #A5AF26 #26AF74 #3026AF
square
#AF2661 #A5AF26 #26AF74 #3026AF
split-complementary
#AF2661 #26AF30 #26A5AF
monochromatic
#4A1029 #7D1B45 #AF2661 #D53D7F #E070A0

Accessibility & contrast

On white

6.42
#AF2661 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AF2661 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2661
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2661#FFFFFF#000000##FFFFFF
##AF26611.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464E62
Deuteranopia (green-blind)
#6B685E
Tritanopia (blue-blind)
#BE0740
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2661;
/* rgb */ color: rgb(175, 38, 97);
/* oklch */ color: oklch(50.8% 0.178 0.1);
Tailwind
colors: {
  custom: {
    50: '#cc6f8d',
    500: '#af2661',
    950: '#000000',
  },
}
SCSS
$custom: #af2661;
$custom-light: #cc6f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2661",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 97
  },
  "hsl": {
    "h": 334.161,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50769,
    "c": 0.17761,
    "h": 0.1
  },
  "luminance": 0.11363
}

Semantic roles & 50–950 ramp

primary
#AF2661
secondary
#6AC79F
accent
#E79F40
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2661

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

Preview Lab → · Contrast checker → · Palette generator →

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