#C28BB2#C28BB2

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

Color values

HEX#C28BB2
RGBrgb(194, 139, 178)
HSLhsl(317, 31%, 65%)
HSVhsv(317, 28%, 76%)
CMYKcmyk(0%, 28.4%, 8.2%, 23.9%)
CIE-LABlab(64.28, 27.13, -12.12)
CIE-LCHlch(64.28, 29.71, 335.94°)
OKLaboklab(70.27% 0.0781 -0.0322)
OKLCHoklch(70.27% 0.085 337.6)
XYZxyz(39.5163, 33.1505, 46.4280)
Luminance0.3315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28BB2 #8BC29B
analogous
#B68BC2 #C28BB2 #C28B96
triadic
#C28BB2 #B2C28B #8BB2C2
tetradic
#C28BB2 #C2B68B #8BC29B #8B96C2
square
#C28BB2 #C2B68B #8BC29B #8B96C2
split-complementary
#C28BB2 #96C28B #8BC2B6
monochromatic
#8A4977 #AD6397 #C28BB2 #D7B3CD #ECDBE7

Accessibility & contrast

On white

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

On black

7.63
#C28BB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28BB2
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28BB2#FFFFFF#000000##000000
##C28BB21.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C97B4
Deuteranopia (green-blind)
#999FB0
Tritanopia (blue-blind)
#C88C99
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c28bb2;
/* rgb */ color: rgb(194, 139, 178);
/* oklch */ color: oklch(70.3% 0.085 337.6);
Tailwind
colors: {
  custom: {
    50: '#d5adc9',
    500: '#c28bb2',
    950: '#000000',
  },
}
SCSS
$custom: #c28bb2;
$custom-light: #d5adc9;
$custom-dark: #000000;
JSON
{
  "hex": "#c28bb2",
  "rgb": {
    "r": 194,
    "g": 139,
    "b": 178
  },
  "hsl": {
    "h": 317.455,
    "s": 31.073,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70269,
    "c": 0.08452,
    "h": 337.6
  },
  "luminance": 0.33149
}

Semantic roles & 50–950 ramp

primary
#C28BB2
secondary
#CBDED1
accent
#AA5C3C
background
#FDFAFC
surface
#FAF4F8
border
#D3CED1
text
#141013
muted
#837F82

Preview Lab

Preview with #C28BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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