#CB7798#CB7798

#CB7798 is a light, moderate pink. Relative luminance 0.282; OKLCH L 67.0% C 0.112 H 355.5°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#CB7798
RGBrgb(203, 119, 152)
HSLhsl(336, 45%, 63%)
HSVhsv(336, 41%, 80%)
CMYKcmyk(0%, 41.4%, 25.1%, 20.4%)
CIE-LABlab(60.03, 37.01, -3.51)
CIE-LCHlch(60.03, 37.17, 354.58°)
OKLaboklab(66.99% 0.1115 -0.0088)
OKLCHoklch(66.99% 0.112 355.5)
XYZxyz(36.8939, 28.1598, 33.1919)
Luminance0.2816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7798 #77CBAA
analogous
#CB77C2 #CB7798 #CB8077
triadic
#CB7798 #98CB77 #7798CB
tetradic
#CB7798 #C2CB77 #77CBAA #8077CB
square
#CB7798 #C2CB77 #77CBAA #8077CB
split-complementary
#CB7798 #77CB80 #77C2CB
monochromatic
#90375A #BA4B76 #CB7798 #DCA3BA #EDD0DB

Accessibility & contrast

On white

3.17
#CB7798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#CB7798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB7798
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7798#FFFFFF#000000##000000
##CB77981.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#818899
Deuteranopia (green-blind)
#969696
Tritanopia (blue-blind)
#D77383
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cb7798;
/* rgb */ color: rgb(203, 119, 152);
/* oklch */ color: oklch(67.0% 0.112 355.5);
Tailwind
colors: {
  custom: {
    50: '#dda0b6',
    500: '#cb7798',
    950: '#000000',
  },
}
SCSS
$custom: #cb7798;
$custom-light: #dda0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7798",
  "rgb": {
    "r": 203,
    "g": 119,
    "b": 152
  },
  "hsl": {
    "h": 336.429,
    "s": 44.681,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66994,
    "c": 0.11179,
    "h": 355.5
  },
  "luminance": 0.28157
}

Semantic roles & 50–950 ramp

primary
#CB7798
secondary
#C0DED2
accent
#B8822E
background
#FDF9FB
surface
#FBF2F6
border
#D4CCD0
text
#150F11
muted
#837E80

Preview Lab

Preview with #CB7798

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

Preview Lab → · Contrast checker → · Palette generator →

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