#AF2675#AF2675

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

Color values

HEX#AF2675
RGBrgb(175, 38, 117)
HSLhsl(325, 64%, 42%)
HSVhsv(325, 78%, 69%)
CMYKcmyk(0%, 78.3%, 33.1%, 31.4%)
CIE-LABlab(40.88, 59.90, -11.63)
CIE-LCHlch(40.88, 61.02, 349.01°)
OKLaboklab(51.49% 0.1835 -0.0303)
OKLCHoklch(51.49% 0.186 350.6)
XYZxyz(21.5845, 11.7871, 17.9647)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2675 #26AF60
analogous
#A426AF #AF2675 #AF2631
triadic
#AF2675 #75AF26 #2675AF
tetradic
#AF2675 #AFA426 #26AF60 #2631AF
square
#AF2675 #AFA426 #26AF60 #2631AF
split-complementary
#AF2675 #31AF26 #26AFA4
monochromatic
#4A1032 #7D1B53 #AF2675 #D53D95 #E070B0

Accessibility & contrast

On white

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

On black

3.36
#AF2675 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF2675#FFFFFF#000000##FFFFFF
##AF26751.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5177
Deuteranopia (green-blind)
#666972
Tritanopia (blue-blind)
#BC1B4B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2675;
/* rgb */ color: rgb(175, 38, 117);
/* oklch */ color: oklch(51.5% 0.186 350.6);
Tailwind
colors: {
  custom: {
    50: '#cc6f9c',
    500: '#af2675',
    950: '#000000',
  },
}
SCSS
$custom: #af2675;
$custom-light: #cc6f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#af2675",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 117
  },
  "hsl": {
    "h": 325.401,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51494,
    "c": 0.18597,
    "h": 350.6
  },
  "luminance": 0.11785
}

Semantic roles & 50–950 ramp

primary
#AF2675
secondary
#6AC791
accent
#E78740
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AF2675

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

Preview Lab → · Contrast checker → · Palette generator →

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