#CD7298#CD7298

#CD7298 is a light, vivid pink. Relative luminance 0.273; OKLCH L 66.4% C 0.122 H 354.5°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#CD7298
RGBrgb(205, 114, 152)
HSLhsl(335, 48%, 63%)
HSVhsv(335, 44%, 80%)
CMYKcmyk(0%, 44.4%, 25.9%, 19.6%)
CIE-LABlab(59.24, 40.34, -4.66)
CIE-LCHlch(59.24, 40.61, 353.41°)
OKLaboklab(66.44% 0.1216 -0.0118)
OKLCHoklch(66.44% 0.122 354.5)
XYZxyz(36.8627, 27.2836, 33.0244)
Luminance0.2728 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7298 #72CDA7
analogous
#CD72C6 #CD7298 #CD7972
triadic
#CD7298 #98CD72 #7298CD
tetradic
#CD7298 #C6CD72 #72CDA7 #7972CD
square
#CD7298 #C6CD72 #72CDA7 #7972CD
split-complementary
#CD7298 #72CD79 #72C6CD
monochromatic
#91335B #BD4577 #CD7298 #DD9FB9 #EDCCDA

Accessibility & contrast

On white

3.25
#CD7298 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#CD7298 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD7298
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7298#FFFFFF#000000##000000
##CD72981.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8599
Deuteranopia (green-blind)
#949596
Tritanopia (blue-blind)
#D96E80
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cd7298;
/* rgb */ color: rgb(205, 114, 152);
/* oklch */ color: oklch(66.4% 0.122 354.5);
Tailwind
colors: {
  custom: {
    50: '#de9cb6',
    500: '#cd7298',
    950: '#000000',
  },
}
SCSS
$custom: #cd7298;
$custom-light: #de9cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7298",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 152
  },
  "hsl": {
    "h": 334.945,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66445,
    "c": 0.12217,
    "h": 354.5
  },
  "luminance": 0.27281
}

Semantic roles & 50–950 ramp

primary
#CD7298
secondary
#BDDED0
accent
#BB7F2B
background
#FDF9FB
surface
#FBF2F6
border
#D4CCD0
text
#150E11
muted
#837E80

Preview Lab

Preview with #CD7298

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

Preview Lab → · Contrast checker → · Palette generator →

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