#CD7198#CD7198

#CD7198 is a light, vivid pink. Relative luminance 0.271; OKLCH L 66.3% C 0.124 H 354.2°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#CD7198
RGBrgb(205, 113, 152)
HSLhsl(335, 48%, 62%)
HSVhsv(335, 45%, 80%)
CMYKcmyk(0%, 44.9%, 25.9%, 19.6%)
CIE-LABlab(59.03, 40.86, -4.96)
CIE-LCHlch(59.03, 41.16, 353.07°)
OKLaboklab(66.29% 0.1232 -0.0126)
OKLCHoklch(66.29% 0.124 354.2)
XYZxyz(36.7505, 27.0593, 32.9870)
Luminance0.2706 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7198 #71CDA6
analogous
#CD71C6 #CD7198 #CD7871
triadic
#CD7198 #98CD71 #7198CD
tetradic
#CD7198 #C6CD71 #71CDA6 #7871CD
square
#CD7198 #C6CD71 #71CDA6 #7871CD
split-complementary
#CD7198 #71CD78 #71C6CD
monochromatic
#91335B #BD4477 #CD7198 #DD9EB9 #EDCCDA

Accessibility & contrast

On white

3.28
#CD7198 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#CD7198 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD7198
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7198#FFFFFF#000000##000000
##CD71981.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8499
Deuteranopia (green-blind)
#949496
Tritanopia (blue-blind)
#DA6D7F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cd7198;
/* rgb */ color: rgb(205, 113, 152);
/* oklch */ color: oklch(66.3% 0.124 354.2);
Tailwind
colors: {
  custom: {
    50: '#de9cb6',
    500: '#cd7198',
    950: '#000000',
  },
}
SCSS
$custom: #cd7198;
$custom-light: #de9cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7198",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 152
  },
  "hsl": {
    "h": 334.565,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66288,
    "c": 0.12382,
    "h": 354.2
  },
  "luminance": 0.27056
}

Semantic roles & 50–950 ramp

primary
#CD7198
secondary
#BCDECF
accent
#BB7E2A
background
#FDF9FB
surface
#FBF2F6
border
#D4CCD0
text
#150E11
muted
#837E80

Preview Lab

Preview with #CD7198

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

Preview Lab → · Contrast checker → · Palette generator →

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