#CD7EB4#CD7EB4

#CD7EB4 is a light, moderate pink. Relative luminance 0.312; OKLCH L 69.3% C 0.119 H 339.7°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#CD7EB4
RGBrgb(205, 126, 180)
HSLhsl(319, 44%, 65%)
HSVhsv(319, 39%, 80%)
CMYKcmyk(0%, 38.5%, 12.2%, 19.6%)
CIE-LABlab(62.67, 38.29, -15.55)
CIE-LCHlch(62.67, 41.33, 337.90°)
OKLaboklab(69.34% 0.1117 -0.0414)
OKLCHoklch(69.34% 0.119 339.7)
XYZxyz(40.8760, 31.1984, 47.0400)
Luminance0.3120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EB4 #7ECD97
analogous
#BE7ECD #CD7EB4 #CD7E8D
triadic
#CD7EB4 #B4CD7E #7EB4CD
tetradic
#CD7EB4 #CDBE7E #7ECD97 #7E8DCD
square
#CD7EB4 #CDBE7E #7ECD97 #7E8DCD
split-complementary
#CD7EB4 #8DCD7E #7ECDBE
monochromatic
#963A79 #BC529A #CD7EB4 #DEAACE #EFD6E7

Accessibility & contrast

On white

2.90
#CD7EB4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#CD7EB4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EB4
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EB4#FFFFFF#000000##000000
##CD7EB41.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8190B6
Deuteranopia (green-blind)
#959CB2
Tritanopia (blue-blind)
#D57F92
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7eb4;
/* rgb */ color: rgb(205, 126, 180);
/* oklch */ color: oklch(69.3% 0.119 339.7);
Tailwind
colors: {
  custom: {
    50: '#dda5ca',
    500: '#cd7eb4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7eb4;
$custom-light: #dda5ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7eb4",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 180
  },
  "hsl": {
    "h": 318.987,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69342,
    "c": 0.11915,
    "h": 339.7
  },
  "luminance": 0.31196
}

Semantic roles & 50–950 ramp

primary
#CD7EB4
secondary
#C6E1CE
accent
#B75A2E
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD7EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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