#C28BB3#C28BB3

#C28BB3 is a light, moderate pink. Relative luminance 0.332; OKLCH L 70.3% C 0.085 H 336.8°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#C28BB3
RGBrgb(194, 139, 179)
HSLhsl(316, 31%, 65%)
HSVhsv(316, 28%, 76%)
CMYKcmyk(0%, 28.4%, 7.7%, 23.9%)
CIE-LABlab(64.32, 27.31, -12.63)
CIE-LCHlch(64.32, 30.09, 335.18°)
OKLaboklab(70.3% 0.0785 -0.0336)
OKLCHoklch(70.3% 0.085 336.8)
XYZxyz(39.6170, 33.1908, 46.9587)
Luminance0.3319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28BB3 #8BC29A
analogous
#B58BC2 #C28BB3 #C28B97
triadic
#C28BB3 #B3C28B #8BB3C2
tetradic
#C28BB3 #C2B58B #8BC29A #8B97C2
square
#C28BB3 #C2B58B #8BC29A #8B97C2
split-complementary
#C28BB3 #97C28B #8BC2B5
monochromatic
#8A4978 #AD6399 #C28BB3 #D7B3CD #ECDBE8

Accessibility & contrast

On white

2.75
#C28BB3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#C28BB3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28BB3
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28BB3#FFFFFF#000000##000000
##C28BB31.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C97B5
Deuteranopia (green-blind)
#999FB1
Tritanopia (blue-blind)
#C88D99
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c28bb3;
/* rgb */ color: rgb(194, 139, 179);
/* oklch */ color: oklch(70.3% 0.085 336.8);
Tailwind
colors: {
  custom: {
    50: '#d5adc9',
    500: '#c28bb3',
    950: '#000000',
  },
}
SCSS
$custom: #c28bb3;
$custom-light: #d5adc9;
$custom-dark: #000000;
JSON
{
  "hex": "#c28bb3",
  "rgb": {
    "r": 194,
    "g": 139,
    "b": 179
  },
  "hsl": {
    "h": 316.364,
    "s": 31.073,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70304,
    "c": 0.08537,
    "h": 336.8
  },
  "luminance": 0.33189
}

Semantic roles & 50–950 ramp

primary
#C28BB3
secondary
#CBDED0
accent
#AA5A3C
background
#FDFAFC
surface
#FAF4F8
border
#D3CED1
text
#141013
muted
#837F82

Preview Lab

Preview with #C28BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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