#C792B2#C792B2

#C792B2 is a light, moderate pink. Relative luminance 0.359; OKLCH L 72.1% C 0.076 H 342.3°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#C792B2
RGBrgb(199, 146, 178)
HSLhsl(324, 32%, 68%)
HSVhsv(324, 27%, 78%)
CMYKcmyk(0%, 26.6%, 10.6%, 22%)
CIE-LABlab(66.46, 25.03, -8.81)
CIE-LCHlch(66.46, 26.53, 340.60°)
OKLaboklab(72.05% 0.0729 -0.0232)
OKLCHoklch(72.05% 0.076 342.3)
XYZxyz(41.8677, 35.9159, 46.8379)
Luminance0.3591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C792B2 #92C7A7
analogous
#C292C7 #C792B2 #C79297
triadic
#C792B2 #B2C792 #92B2C7
tetradic
#C792B2 #C7C292 #92C7A7 #9297C7
square
#C792B2 #C7C292 #92C7A7 #9297C7
split-complementary
#C792B2 #97C792 #92C7C2
monochromatic
#934C77 #B26A95 #C792B2 #DCBACF #F1E3EB

Accessibility & contrast

On white

2.57
#C792B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#C792B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C792B2
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C792B2#FFFFFF#000000##000000
##C792B21.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#949DB3
Deuteranopia (green-blind)
#A1A5B1
Tritanopia (blue-blind)
#CE929D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c792b2;
/* rgb */ color: rgb(199, 146, 178);
/* oklch */ color: oklch(72.1% 0.076 342.3);
Tailwind
colors: {
  custom: {
    50: '#d8b2c9',
    500: '#c792b2',
    950: '#000000',
  },
}
SCSS
$custom: #c792b2;
$custom-light: #d8b2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c792b2",
  "rgb": {
    "r": 199,
    "g": 146,
    "b": 178
  },
  "hsl": {
    "h": 323.774,
    "s": 32.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72054,
    "c": 0.07649,
    "h": 342.3
  },
  "luminance": 0.35914
}

Semantic roles & 50–950 ramp

primary
#C792B2
secondary
#D2E3D9
accent
#AB673B
background
#FDFBFC
surface
#FAF6F8
border
#D3D0D1
text
#141113
muted
#838082

Preview Lab

Preview with #C792B2

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

Preview Lab → · Contrast checker → · Palette generator →

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