#CD7FA2#CD7FA2

#CD7FA2 is a light, moderate pink. Relative luminance 0.308; OKLCH L 68.9% C 0.105 H 351.8°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#CD7FA2
RGBrgb(205, 127, 162)
HSLhsl(333, 44%, 65%)
HSVhsv(333, 38%, 80%)
CMYKcmyk(0%, 38%, 21%, 19.6%)
CIE-LABlab(62.31, 34.91, -5.85)
CIE-LCHlch(62.31, 35.39, 350.49°)
OKLaboklab(68.88% 0.1044 -0.015)
OKLCHoklch(68.88% 0.105 351.8)
XYZxyz(39.2885, 30.7690, 38.0451)
Luminance0.3077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FA2 #7FCDAA
analogous
#CD7FC9 #CD7FA2 #CD837F
triadic
#CD7FA2 #A2CD7F #7FA2CD
tetradic
#CD7FA2 #C9CD7F #7FCDAA #837FCD
square
#CD7FA2 #C9CD7F #7FCDAA #837FCD
split-complementary
#CD7FA2 #7FCD83 #7FC9CD
monochromatic
#973B64 #BC5382 #CD7FA2 #DEABC2 #EFD7E2

Accessibility & contrast

On white

2.94
#CD7FA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#CD7FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FA2
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FA2#FFFFFF#000000##000000
##CD7FA21.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#878FA3
Deuteranopia (green-blind)
#9A9CA0
Tritanopia (blue-blind)
#D87C8B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7fa2;
/* rgb */ color: rgb(205, 127, 162);
/* oklch */ color: oklch(68.9% 0.105 351.8);
Tailwind
colors: {
  custom: {
    50: '#dea5bd',
    500: '#cd7fa2',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fa2;
$custom-light: #dea5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fa2",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 333.077,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68876,
    "c": 0.10548,
    "h": 351.8
  },
  "luminance": 0.30767
}

Semantic roles & 50–950 ramp

primary
#CD7FA2
secondary
#C7E1D5
accent
#B77A2F
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD7FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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