#AF2679#AF2679

#AF2679 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.7% C 0.188 H 348.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AF2679
RGBrgb(175, 38, 121)
HSLhsl(324, 64%, 42%)
HSVhsv(324, 78%, 69%)
CMYKcmyk(0%, 78.3%, 30.9%, 31.4%)
CIE-LABlab(41.03, 60.36, -13.88)
CIE-LCHlch(41.03, 61.94, 347.05°)
OKLaboklab(51.66% 0.1845 -0.0364)
OKLCHoklch(51.66% 0.188 348.8)
XYZxyz(21.8247, 11.8832, 19.2298)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2679 #26AF5C
analogous
#A126AF #AF2679 #AF2634
triadic
#AF2679 #79AF26 #2679AF
tetradic
#AF2679 #AFA126 #26AF5C #2634AF
square
#AF2679 #AFA126 #26AF5C #2634AF
split-complementary
#AF2679 #34AF26 #26AFA1
monochromatic
#4A1033 #7D1B56 #AF2679 #D53D99 #E070B4

Accessibility & contrast

On white

6.22
#AF2679 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AF2679 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2679
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2679#FFFFFF#000000##FFFFFF
##AF26791.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D517B
Deuteranopia (green-blind)
#656976
Tritanopia (blue-blind)
#BC1E4D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2679;
/* rgb */ color: rgb(175, 38, 121);
/* oklch */ color: oklch(51.7% 0.188 348.8);
Tailwind
colors: {
  custom: {
    50: '#cb6f9f',
    500: '#af2679',
    950: '#000000',
  },
}
SCSS
$custom: #af2679;
$custom-light: #cb6f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2679",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 121
  },
  "hsl": {
    "h": 323.65,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51657,
    "c": 0.18801,
    "h": 348.8
  },
  "luminance": 0.11881
}

Semantic roles & 50–950 ramp

primary
#AF2679
secondary
#6AC78F
accent
#E78240
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AF2679

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

Preview Lab → · Contrast checker → · Palette generator →

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