#AF2678#AF2678

#AF2678 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.187 H 349.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AF2678
RGBrgb(175, 38, 120)
HSLhsl(324, 64%, 42%)
HSVhsv(324, 78%, 69%)
CMYKcmyk(0%, 78.3%, 31.4%, 31.4%)
CIE-LABlab(40.99, 60.24, -13.32)
CIE-LCHlch(40.99, 61.70, 347.53°)
OKLaboklab(51.62% 0.1842 -0.0349)
OKLCHoklch(51.62% 0.187 349.3)
XYZxyz(21.7637, 11.8588, 18.9085)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2678 #26AF5D
analogous
#A226AF #AF2678 #AF2633
triadic
#AF2678 #78AF26 #2678AF
tetradic
#AF2678 #AFA226 #26AF5D #2633AF
square
#AF2678 #AFA226 #26AF5D #2633AF
split-complementary
#AF2678 #33AF26 #26AFA2
monochromatic
#4A1033 #7D1B56 #AF2678 #D53D98 #E070B3

Accessibility & contrast

On white

6.23
#AF2678 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AF2678 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2678
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2678#FFFFFF#000000##FFFFFF
##AF26781.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D517A
Deuteranopia (green-blind)
#656975
Tritanopia (blue-blind)
#BC1D4C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2678;
/* rgb */ color: rgb(175, 38, 120);
/* oklch */ color: oklch(51.6% 0.187 349.3);
Tailwind
colors: {
  custom: {
    50: '#cb6f9f',
    500: '#af2678',
    950: '#000000',
  },
}
SCSS
$custom: #af2678;
$custom-light: #cb6f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2678",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 120
  },
  "hsl": {
    "h": 324.088,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51616,
    "c": 0.18749,
    "h": 349.3
  },
  "luminance": 0.11856
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2678

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

Preview Lab → · Contrast checker → · Palette generator →

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