#CF789E#CF789E

#CF789E is a light, moderate pink. Relative luminance 0.292; OKLCH L 67.8% C 0.117 H 353.0°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#CF789E
RGBrgb(207, 120, 158)
HSLhsl(334, 48%, 64%)
HSVhsv(334, 42%, 81%)
CMYKcmyk(0%, 42%, 23.7%, 18.8%)
CIE-LABlab(60.93, 38.74, -5.58)
CIE-LCHlch(60.93, 39.14, 351.81°)
OKLaboklab(67.84% 0.1164 -0.0143)
OKLCHoklch(67.84% 0.117 353)
XYZxyz(38.6211, 29.1698, 35.9373)
Luminance0.2917 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF789E #78CFA9
analogous
#CF78CA #CF789E #CF7E78
triadic
#CF789E #9ECF78 #789ECF
tetradic
#CF789E #CACF78 #78CFA9 #7E78CF
square
#CF789E #CACF78 #78CFA9 #7E78CF
split-complementary
#CF789E #78CF7E #78CACF
monochromatic
#973660 #BF4B7E #CF789E #DFA5BE #EFD2DF

Accessibility & contrast

On white

3.07
#CF789E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#CF789E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF789E
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF789E#FFFFFF#000000##000000
##CF789E1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#828A9F
Deuteranopia (green-blind)
#98999C
Tritanopia (blue-blind)
#DB7586
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cf789e;
/* rgb */ color: rgb(207, 120, 158);
/* oklch */ color: oklch(67.8% 0.117 353.0);
Tailwind
colors: {
  custom: {
    50: '#dfa1ba',
    500: '#cf789e',
    950: '#000000',
  },
}
SCSS
$custom: #cf789e;
$custom-light: #dfa1ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cf789e",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 158
  },
  "hsl": {
    "h": 333.793,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67841,
    "c": 0.11726,
    "h": 353
  },
  "luminance": 0.29167
}

Semantic roles & 50–950 ramp

primary
#CF789E
secondary
#C2E1D3
accent
#BB7C2B
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F11
muted
#837F80

Preview Lab

Preview with #CF789E

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

Preview Lab → · Contrast checker → · Palette generator →

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