#CD7FB4#CD7FB4

#CD7FB4 is a light, moderate pink. Relative luminance 0.315; OKLCH L 69.5% C 0.117 H 339.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#CD7FB4
RGBrgb(205, 127, 180)
HSLhsl(319, 44%, 65%)
HSVhsv(319, 38%, 80%)
CMYKcmyk(0%, 38%, 12.2%, 19.6%)
CIE-LABlab(62.89, 37.76, -15.22)
CIE-LCHlch(62.89, 40.71, 338.05°)
OKLaboklab(69.51% 0.1102 -0.0405)
OKLCHoklch(69.51% 0.117 339.8)
XYZxyz(41.0045, 31.4555, 47.0829)
Luminance0.3145 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FB4 #7FCD98
analogous
#BF7FCD #CD7FB4 #CD7F8D
triadic
#CD7FB4 #B4CD7F #7FB4CD
tetradic
#CD7FB4 #CDBF7F #7FCD98 #7F8DCD
square
#CD7FB4 #CDBF7F #7FCD98 #7F8DCD
split-complementary
#CD7FB4 #8DCD7F #7FCDBF
monochromatic
#973B79 #BC539A #CD7FB4 #DEABCE #EFD7E8

Accessibility & contrast

On white

2.88
#CD7FB4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#CD7FB4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FB4
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FB4#FFFFFF#000000##000000
##CD7FB41.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8291B6
Deuteranopia (green-blind)
#969DB2
Tritanopia (blue-blind)
#D58092
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7fb4;
/* rgb */ color: rgb(205, 127, 180);
/* oklch */ color: oklch(69.5% 0.117 339.8);
Tailwind
colors: {
  custom: {
    50: '#dda5ca',
    500: '#cd7fb4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fb4;
$custom-light: #dda5ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fb4",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 180
  },
  "hsl": {
    "h": 319.231,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.69505,
    "c": 0.11739,
    "h": 339.8
  },
  "luminance": 0.31453
}

Semantic roles & 50–950 ramp

primary
#CD7FB4
secondary
#C7E1CF
accent
#B75A2F
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD7FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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