#CD7E8E#CD7E8E

#CD7E8E is a light, moderate red. Relative luminance 0.299; OKLCH L 68.1% C 0.100 H 6.9°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#CD7E8E
RGBrgb(205, 126, 142)
HSLhsl(348, 44%, 65%)
HSVhsv(348, 39%, 80%)
CMYKcmyk(0%, 38.5%, 30.7%, 19.6%)
CIE-LABlab(61.53, 32.61, 4.44)
CIE-LCHlch(61.53, 32.91, 7.76°)
OKLaboklab(68.1% 0.0988 0.012)
OKLCHoklch(68.1% 0.1 6.9)
XYZxyz(37.5214, 29.8566, 29.3726)
Luminance0.2985 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7E8E #7ECDBD
analogous
#CD7EB6 #CD7E8E #CD967E
triadic
#CD7E8E #8ECD7E #7E8ECD
tetradic
#CD7E8E #B6CD7E #7ECDBD #967ECD
square
#CD7E8E #B6CD7E #7ECDBD #967ECD
split-complementary
#CD7E8E #7ECD96 #7EB6CD
monochromatic
#963A4D #BC5267 #CD7E8E #DEAAB5 #EFD6DB

Accessibility & contrast

On white

3.01
#CD7E8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#CD7E8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD7E8E
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7E8E#FFFFFF#000000##000000
##CD7E8E1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8C8E
Deuteranopia (green-blind)
#9E9A8C
Tritanopia (blue-blind)
#DA7884
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd7e8e;
/* rgb */ color: rgb(205, 126, 142);
/* oklch */ color: oklch(68.1% 0.100 6.9);
Tailwind
colors: {
  custom: {
    50: '#dea4af',
    500: '#cd7e8e',
    950: '#000000',
  },
}
SCSS
$custom: #cd7e8e;
$custom-light: #dea4af;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7e8e",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 142
  },
  "hsl": {
    "h": 347.848,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68095,
    "c": 0.09954,
    "h": 6.9
  },
  "luminance": 0.29854
}

Semantic roles & 50–950 ramp

primary
#CD7E8E
secondary
#C6E1DB
accent
#B79C2E
background
#FDFAFA
surface
#FBF4F4
border
#D4CECE
text
#150F10
muted
#837F7F

Preview Lab

Preview with #CD7E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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