#CD7498#CD7498

#CD7498 is a light, moderate pink. Relative luminance 0.277; OKLCH L 66.8% C 0.119 H 355.1°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#CD7498
RGBrgb(205, 116, 152)
HSLhsl(336, 47%, 63%)
HSVhsv(336, 43%, 80%)
CMYKcmyk(0%, 43.4%, 25.9%, 19.6%)
CIE-LABlab(59.65, 39.29, -4.04)
CIE-LCHlch(59.65, 39.50, 354.12°)
OKLaboklab(66.76% 0.1185 -0.0101)
OKLCHoklch(66.76% 0.119 355.1)
XYZxyz(37.0908, 27.7397, 33.1005)
Luminance0.2774 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7498 #74CDA9
analogous
#CD74C5 #CD7498 #CD7C74
triadic
#CD7498 #98CD74 #7498CD
tetradic
#CD7498 #C5CD74 #74CDA9 #7C74CD
square
#CD7498 #C5CD74 #74CDA9 #7C74CD
split-complementary
#CD7498 #74CD7C #74C5CD
monochromatic
#92355A #BD4777 #CD7498 #DDA1B9 #EDCEDB

Accessibility & contrast

On white

3.21
#CD7498 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#CD7498 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD7498
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7498#FFFFFF#000000##000000
##CD74981.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8699
Deuteranopia (green-blind)
#969696
Tritanopia (blue-blind)
#D97081
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cd7498;
/* rgb */ color: rgb(205, 116, 152);
/* oklch */ color: oklch(66.8% 0.119 355.1);
Tailwind
colors: {
  custom: {
    50: '#de9eb6',
    500: '#cd7498',
    950: '#000000',
  },
}
SCSS
$custom: #cd7498;
$custom-light: #de9eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7498",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 152
  },
  "hsl": {
    "h": 335.73,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6676,
    "c": 0.11888,
    "h": 355.1
  },
  "luminance": 0.27737
}

Semantic roles & 50–950 ramp

primary
#CD7498
secondary
#BEDED1
accent
#BA802B
background
#FDF9FB
surface
#FBF2F6
border
#D4CCD0
text
#150E11
muted
#837E80

Preview Lab

Preview with #CD7498

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

Preview Lab → · Contrast checker → · Palette generator →

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