#CF6798#CF6798

#CF6798 is a light, vivid pink. Relative luminance 0.252; OKLCH L 65.0% C 0.142 H 352.2°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#CF6798
RGBrgb(207, 103, 152)
HSLhsl(332, 52%, 61%)
HSVhsv(332, 50%, 81%)
CMYKcmyk(0%, 50.2%, 26.6%, 18.8%)
CIE-LABlab(57.30, 46.63, -7.49)
CIE-LCHlch(57.30, 47.23, 350.87°)
OKLaboklab(65.05% 0.1408 -0.0193)
OKLCHoklch(65.05% 0.142 352.2)
XYZxyz(36.2511, 25.2360, 32.6615)
Luminance0.2523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF6798 #67CF9E
analogous
#CF67CC #CF6798 #CF6A67
triadic
#CF6798 #98CF67 #6798CF
tetradic
#CF6798 #CCCF67 #67CF9E #6A67CF
square
#CF6798 #CCCF67 #67CF9E #6A67CF
split-complementary
#CF6798 #67CF6A #67CCCF
monochromatic
#8F2D5B #BD3C79 #CF6798 #DE96B8 #ECC4D7

Accessibility & contrast

On white

3.47
#CF6798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#CF6798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF6798
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF6798#FFFFFF#000000##000000
##CF67981.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#747E9A
Deuteranopia (green-blind)
#8F9095
Tritanopia (blue-blind)
#DC6379
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf6798;
/* rgb */ color: rgb(207, 103, 152);
/* oklch */ color: oklch(65.0% 0.142 352.2);
Tailwind
colors: {
  custom: {
    50: '#e095b6',
    500: '#cf6798',
    950: '#000000',
  },
}
SCSS
$custom: #cf6798;
$custom-light: #e095b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf6798",
  "rgb": {
    "r": 207,
    "g": 103,
    "b": 152
  },
  "hsl": {
    "h": 331.731,
    "s": 52,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65046,
    "c": 0.14212,
    "h": 352.2
  },
  "luminance": 0.25233
}

Semantic roles & 50–950 ramp

primary
#CF6798
secondary
#B5DDCA
accent
#BF7726
background
#FEF9FB
surface
#FCF2F6
border
#D5CCD0
text
#160E11
muted
#847E80

Preview Lab

Preview with #CF6798

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

Preview Lab → · Contrast checker → · Palette generator →

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