#C795BD#C795BD

#C795BD is a light, moderate pink. Relative luminance 0.373; OKLCH L 73.0% C 0.080 H 333.5°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#C795BD
RGBrgb(199, 149, 189)
HSLhsl(312, 31%, 68%)
HSVhsv(312, 25%, 78%)
CMYKcmyk(0%, 25.1%, 5%, 22%)
CIE-LABlab(67.51, 25.31, -13.39)
CIE-LCHlch(67.51, 28.64, 332.13°)
OKLaboklab(72.98% 0.0719 -0.0357)
OKLCHoklch(72.98% 0.08 333.5)
XYZxyz(43.4853, 37.3126, 53.0456)
Luminance0.3731 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C795BD #95C79F
analogous
#B895C7 #C795BD #C795A4
triadic
#C795BD #BDC795 #95BDC7
tetradic
#C795BD #C7B895 #95C79F #95A4C7
square
#C795BD #C7B895 #95C79F #95A4C7
split-complementary
#C795BD #A4C795 #95C7B8
monochromatic
#944E86 #B26DA4 #C795BD #DCBDD6 #F1E5EF

Accessibility & contrast

On white

2.48
#C795BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#C795BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C795BD
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C795BD#FFFFFF#000000##000000
##C795BD1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A0BF
Deuteranopia (green-blind)
#A0A7BB
Tritanopia (blue-blind)
#CC97A3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c795bd;
/* rgb */ color: rgb(199, 149, 189);
/* oklch */ color: oklch(73.0% 0.080 333.5);
Tailwind
colors: {
  custom: {
    50: '#d8b4d1',
    500: '#c795bd',
    950: '#000000',
  },
}
SCSS
$custom: #c795bd;
$custom-light: #d8b4d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c795bd",
  "rgb": {
    "r": 199,
    "g": 149,
    "b": 189
  },
  "hsl": {
    "h": 312,
    "s": 30.864,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72978,
    "c": 0.08026,
    "h": 333.5
  },
  "luminance": 0.37311
}

Semantic roles & 50–950 ramp

primary
#C795BD
secondary
#D4E3D7
accent
#AA523C
background
#FDFBFC
surface
#FAF6F9
border
#D3D0D2
text
#141114
muted
#838082

Preview Lab

Preview with #C795BD

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

Preview Lab → · Contrast checker → · Palette generator →

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