#CB799E#CB799E

#CB799E is a light, moderate pink. Relative luminance 0.288; OKLCH L 67.5% C 0.111 H 352.0°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#CB799E
RGBrgb(203, 121, 158)
HSLhsl(333, 44%, 64%)
HSVhsv(333, 40%, 80%)
CMYKcmyk(0%, 40.4%, 22.2%, 20.4%)
CIE-LABlab(60.64, 36.81, -6.06)
CIE-LCHlch(60.64, 37.31, 350.65°)
OKLaboklab(67.52% 0.1103 -0.0156)
OKLCHoklch(67.52% 0.111 352)
XYZxyz(37.6383, 28.8425, 35.9259)
Luminance0.2884 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB799E #79CBA6
analogous
#CB79C7 #CB799E #CB7D79
triadic
#CB799E #9ECB79 #799ECB
tetradic
#CB799E #C7CB79 #79CBA6 #7D79CB
square
#CB799E #C7CB79 #79CBA6 #7D79CB
split-complementary
#CB799E #79CB7D #79C7CB
monochromatic
#913860 #BA4D7E #CB799E #DCA5BE #EDD1DE

Accessibility & contrast

On white

3.10
#CB799E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#CB799E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB799E
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB799E#FFFFFF#000000##000000
##CB799E1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#828A9F
Deuteranopia (green-blind)
#96989C
Tritanopia (blue-blind)
#D67686
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cb799e;
/* rgb */ color: rgb(203, 121, 158);
/* oklch */ color: oklch(67.5% 0.111 352.0);
Tailwind
colors: {
  custom: {
    50: '#dca1ba',
    500: '#cb799e',
    950: '#000000',
  },
}
SCSS
$custom: #cb799e;
$custom-light: #dca1ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cb799e",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 158
  },
  "hsl": {
    "h": 332.927,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67515,
    "c": 0.11142,
    "h": 352
  },
  "luminance": 0.2884
}

Semantic roles & 50–950 ramp

primary
#CB799E
secondary
#C1DED1
accent
#B7792E
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F11
muted
#837F80

Preview Lab

Preview with #CB799E

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

Preview Lab → · Contrast checker → · Palette generator →

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