#AF2674#AF2674

#AF2674 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.5% C 0.185 H 351.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AF2674
RGBrgb(175, 38, 116)
HSLhsl(326, 64%, 42%)
HSVhsv(326, 78%, 69%)
CMYKcmyk(0%, 78.3%, 33.7%, 31.4%)
CIE-LABlab(40.84, 59.78, -11.07)
CIE-LCHlch(40.84, 60.80, 349.51°)
OKLaboklab(51.46% 0.1832 -0.0287)
OKLCHoklch(51.46% 0.185 351.1)
XYZxyz(21.5260, 11.7637, 17.6567)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2674 #26AF61
analogous
#A526AF #AF2674 #AF2630
triadic
#AF2674 #74AF26 #2674AF
tetradic
#AF2674 #AFA526 #26AF61 #2630AF
square
#AF2674 #AFA526 #26AF61 #2630AF
split-complementary
#AF2674 #30AF26 #26AFA5
monochromatic
#4A1031 #7D1B53 #AF2674 #D53D94 #E070AF

Accessibility & contrast

On white

6.26
#AF2674 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AF2674 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2674
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2674#FFFFFF#000000##FFFFFF
##AF26741.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5176
Deuteranopia (green-blind)
#676971
Tritanopia (blue-blind)
#BC1A4A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2674;
/* rgb */ color: rgb(175, 38, 116);
/* oklch */ color: oklch(51.5% 0.185 351.1);
Tailwind
colors: {
  custom: {
    50: '#cc6f9c',
    500: '#af2674',
    950: '#000000',
  },
}
SCSS
$custom: #af2674;
$custom-light: #cc6f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#af2674",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 116
  },
  "hsl": {
    "h": 325.839,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51455,
    "c": 0.18548,
    "h": 351.1
  },
  "luminance": 0.11761
}

Semantic roles & 50–950 ramp

primary
#AF2674
secondary
#6AC792
accent
#E78840
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AF2674

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

Preview Lab → · Contrast checker → · Palette generator →

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