#AF628C#AF628C

#AF628C is a mid, moderate pink. Relative luminance 0.197; OKLCH L 59.7% C 0.112 H 347.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AF628C
RGBrgb(175, 98, 140)
HSLhsl(327, 32%, 54%)
HSVhsv(327, 44%, 69%)
CMYKcmyk(0%, 44%, 20%, 31.4%)
CIE-LABlab(51.55, 36.64, -9.51)
CIE-LCHlch(51.55, 37.85, 345.45°)
OKLaboklab(59.68% 0.1092 -0.0249)
OKLCHoklch(59.68% 0.112 347.1)
XYZxyz(26.7810, 19.7447, 27.2064)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF628C #62AF85
analogous
#AB62AF #AF628C #AF6265
triadic
#AF628C #8CAF62 #628CAF
tetradic
#AF628C #AFAB62 #62AF85 #6265AF
square
#AF628C #AFAB62 #62AF85 #6265AF
split-complementary
#AF628C #65AF62 #62AFAB
monochromatic
#64334E #8C476D #AF628C #C48BAA #D8B3C7

Accessibility & contrast

On white

4.24
#AF628C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#AF628C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF628C
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF628C#FFFFFF#000000##000000
##AF628C1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#69738D
Deuteranopia (green-blind)
#7C808A
Tritanopia (blue-blind)
#B86171
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af628c;
/* rgb */ color: rgb(175, 98, 140);
/* oklch */ color: oklch(59.7% 0.112 347.1);
Tailwind
colors: {
  custom: {
    50: '#c990ad',
    500: '#af628c',
    950: '#000000',
  },
}
SCSS
$custom: #af628c;
$custom-light: #c990ad;
$custom-dark: #000000;
JSON
{
  "hex": "#af628c",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 140
  },
  "hsl": {
    "h": 327.273,
    "s": 32.489,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59682,
    "c": 0.11202,
    "h": 347.1
  },
  "luminance": 0.19743
}

Semantic roles & 50–950 ramp

primary
#AF628C
secondary
#A6C7B5
accent
#C98F5F
background
#FCF9FA
surface
#F8F1F4
border
#D1CBCE
text
#130D10
muted
#827E7F

Preview Lab

Preview with #AF628C

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

Preview Lab → · Contrast checker → · Palette generator →

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