#CD6798#CD6798

#CD6798 is a light, vivid pink. Relative luminance 0.249; OKLCH L 64.8% C 0.140 H 351.6°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#CD6798
RGBrgb(205, 103, 152)
HSLhsl(331, 50%, 60%)
HSVhsv(331, 50%, 80%)
CMYKcmyk(0%, 49.8%, 25.9%, 19.6%)
CIE-LABlab(57.03, 45.97, -7.94)
CIE-LCHlch(57.03, 46.65, 350.20°)
OKLaboklab(64.78% 0.1387 -0.0205)
OKLCHoklch(64.78% 0.14 351.6)
XYZxyz(35.6957, 24.9496, 32.6354)
Luminance0.2495 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6798 #67CD9C
analogous
#CD67CB #CD6798 #CD6967
triadic
#CD6798 #98CD67 #6798CD
tetradic
#CD6798 #CBCD67 #67CD9C #6967CD
square
#CD6798 #CBCD67 #67CD9C #6967CD
split-complementary
#CD6798 #67CD69 #67CBCD
monochromatic
#8C2E5B #BA3D79 #CD6798 #DC95B7 #EBC3D6

Accessibility & contrast

On white

3.51
#CD6798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#CD6798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD6798
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6798#FFFFFF#000000##000000
##CD67981.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#737E9A
Deuteranopia (green-blind)
#8E9096
Tritanopia (blue-blind)
#DA6379
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd6798;
/* rgb */ color: rgb(205, 103, 152);
/* oklch */ color: oklch(64.8% 0.140 351.6);
Tailwind
colors: {
  custom: {
    50: '#df95b6',
    500: '#cd6798',
    950: '#000000',
  },
}
SCSS
$custom: #cd6798;
$custom-light: #df95b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6798",
  "rgb": {
    "r": 205,
    "g": 103,
    "b": 152
  },
  "hsl": {
    "h": 331.176,
    "s": 50.495,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6478,
    "c": 0.14016,
    "h": 351.6
  },
  "luminance": 0.24947
}

Semantic roles & 50–950 ramp

primary
#CD6798
secondary
#B4DBC9
accent
#BE7628
background
#FEF9FB
surface
#FCF2F6
border
#D5CCD0
text
#150D11
muted
#847E80

Preview Lab

Preview with #CD6798

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

Preview Lab → · Contrast checker → · Palette generator →

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