#C28EA7#C28EA7

#C28EA7 is a light, moderate pink. Relative luminance 0.336; OKLCH L 70.4% C 0.071 H 348.7°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#C28EA7
RGBrgb(194, 142, 167)
HSLhsl(331, 30%, 66%)
HSVhsv(331, 27%, 76%)
CMYKcmyk(0%, 26.8%, 13.9%, 23.9%)
CIE-LABlab(64.65, 23.59, -5.36)
CIE-LCHlch(64.65, 24.19, 347.20°)
OKLaboklab(70.44% 0.0696 -0.0139)
OKLCHoklch(70.44% 0.071 348.7)
XYZxyz(38.8962, 33.6070, 40.9897)
Luminance0.3361 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28EA7 #8EC2A9
analogous
#C28EC1 #C28EA7 #C28F8E
triadic
#C28EA7 #A7C28E #8EA7C2
tetradic
#C28EA7 #C1C28E #8EC2A9 #8F8EC2
square
#C28EA7 #C1C28E #8EC2A9 #8F8EC2
split-complementary
#C28EA7 #8EC28F #8EC1C2
monochromatic
#8B4B6A #AD6688 #C28EA7 #D7B6C6 #EDDDE5

Accessibility & contrast

On white

2.72
#C28EA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#C28EA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28EA7
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28EA7#FFFFFF#000000##000000
##C28EA71.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9298A8
Deuteranopia (green-blind)
#9EA0A6
Tritanopia (blue-blind)
#CA8D96
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c28ea7;
/* rgb */ color: rgb(194, 142, 167);
/* oklch */ color: oklch(70.4% 0.071 348.7);
Tailwind
colors: {
  custom: {
    50: '#d5afc1',
    500: '#c28ea7',
    950: '#000000',
  },
}
SCSS
$custom: #c28ea7;
$custom-light: #d5afc1;
$custom-dark: #000000;
JSON
{
  "hex": "#c28ea7",
  "rgb": {
    "r": 194,
    "g": 142,
    "b": 167
  },
  "hsl": {
    "h": 331.154,
    "s": 29.885,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70437,
    "c": 0.07098,
    "h": 348.7
  },
  "luminance": 0.33605
}

Semantic roles & 50–950 ramp

primary
#C28EA7
secondary
#CDDED6
accent
#A9753D
background
#FDFAFB
surface
#FAF4F7
border
#D3CED0
text
#141012
muted
#837F81

Preview Lab

Preview with #C28EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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