#CB799F#CB799F

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

Color values

HEX#CB799F
RGBrgb(203, 121, 159)
HSLhsl(332, 44%, 64%)
HSVhsv(332, 40%, 80%)
CMYKcmyk(0%, 40.4%, 21.7%, 20.4%)
CIE-LABlab(60.67, 36.96, -6.59)
CIE-LCHlch(60.67, 37.55, 349.89°)
OKLaboklab(67.55% 0.1107 -0.017)
OKLCHoklch(67.55% 0.112 351.3)
XYZxyz(37.7247, 28.8770, 36.3810)
Luminance0.2887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB799F #79CBA5
analogous
#CB79C8 #CB799F #CB7C79
triadic
#CB799F #9FCB79 #799FCB
tetradic
#CB799F #C8CB79 #79CBA5 #7C79CB
square
#CB799F #C8CB79 #79CBA5 #7C79CB
split-complementary
#CB799F #79CB7C #79C8CB
monochromatic
#913862 #BA4D7F #CB799F #DCA5BF #EDD1DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB799F#FFFFFF#000000##000000
##CB799F1.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)
#818AA0
Deuteranopia (green-blind)
#96989D
Tritanopia (blue-blind)
#D67687
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cb799f;
/* rgb */ color: rgb(203, 121, 159);
/* oklch */ color: oklch(67.5% 0.112 351.3);
Tailwind
colors: {
  custom: {
    50: '#dca1bb',
    500: '#cb799f',
    950: '#000000',
  },
}
SCSS
$custom: #cb799f;
$custom-light: #dca1bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb799f",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 159
  },
  "hsl": {
    "h": 332.195,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67549,
    "c": 0.11196,
    "h": 351.3
  },
  "luminance": 0.28874
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB799F

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

Preview Lab → · Contrast checker → · Palette generator →

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