#C792BD#C792BD

#C792BD is a light, moderate pink. Relative luminance 0.364; OKLCH L 72.4% C 0.086 H 333.2°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#C792BD
RGBrgb(199, 146, 189)
HSLhsl(311, 32%, 68%)
HSVhsv(311, 27%, 78%)
CMYKcmyk(0%, 26.6%, 5%, 22%)
CIE-LABlab(66.81, 26.96, -14.45)
CIE-LCHlch(66.81, 30.59, 331.82°)
OKLaboklab(72.44% 0.0765 -0.0386)
OKLCHoklch(72.44% 0.086 333.2)
XYZxyz(43.0167, 36.3755, 52.8895)
Luminance0.3637 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C792BD #92C79C
analogous
#B792C7 #C792BD #C792A2
triadic
#C792BD #BDC792 #92BDC7
tetradic
#C792BD #C7B792 #92C79C #92A2C7
square
#C792BD #C7B792 #92C79C #92A2C7
split-complementary
#C792BD #A2C792 #92C7B7
monochromatic
#934C86 #B26AA5 #C792BD #DCBAD5 #F1E3EE

Accessibility & contrast

On white

2.54
#C792BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#C792BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C792BD
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C792BD#FFFFFF#000000##000000
##C792BD1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#919EBF
Deuteranopia (green-blind)
#9EA5BB
Tritanopia (blue-blind)
#CC94A1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c792bd;
/* rgb */ color: rgb(199, 146, 189);
/* oklch */ color: oklch(72.4% 0.086 333.2);
Tailwind
colors: {
  custom: {
    50: '#d8b2d1',
    500: '#c792bd',
    950: '#000000',
  },
}
SCSS
$custom: #c792bd;
$custom-light: #d8b2d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c792bd",
  "rgb": {
    "r": 199,
    "g": 146,
    "b": 189
  },
  "hsl": {
    "h": 311.321,
    "s": 32.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72438,
    "c": 0.08572,
    "h": 333.2
  },
  "luminance": 0.36374
}

Semantic roles & 50–950 ramp

primary
#C792BD
secondary
#D2E3D5
accent
#AB503B
background
#FDFBFC
surface
#FAF6F9
border
#D3D0D2
text
#141114
muted
#838082

Preview Lab

Preview with #C792BD

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

Preview Lab → · Contrast checker → · Palette generator →

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