#CD8798#CD8798

#CD8798 is a light, moderate red. Relative luminance 0.326; OKLCH L 69.9% C 0.088 H 3.8°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CD8798
RGBrgb(205, 135, 152)
HSLhsl(345, 41%, 67%)
HSVhsv(345, 34%, 80%)
CMYKcmyk(0%, 34.1%, 25.9%, 19.6%)
CIE-LABlab(63.82, 29.12, 2.05)
CIE-LCHlch(63.82, 29.19, 4.03°)
OKLaboklab(69.93% 0.088 0.0058)
OKLCHoklch(69.93% 0.088 3.8)
XYZxyz(39.5092, 32.5766, 33.9066)
Luminance0.3257 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8798 #87CDBC
analogous
#CD87BB #CD8798 #CD9987
triadic
#CD8798 #98CD87 #8798CD
tetradic
#CD8798 #BBCD87 #87CDBC #9987CD
square
#CD8798 #BBCD87 #87CDBC #9987CD
split-complementary
#CD8798 #87CD99 #87BBCD
monochromatic
#9A4056 #BB5C73 #CD8798 #DFB2BD #F1DDE2

Accessibility & contrast

On white

2.79
#CD8798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#CD8798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8798
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8798#FFFFFF#000000##000000
##CD87981.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#919399
Deuteranopia (green-blind)
#A29F97
Tritanopia (blue-blind)
#D9828D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd8798;
/* rgb */ color: rgb(205, 135, 152);
/* oklch */ color: oklch(69.9% 0.088 3.8);
Tailwind
colors: {
  custom: {
    50: '#deaab6',
    500: '#cd8798',
    950: '#000000',
  },
}
SCSS
$custom: #cd8798;
$custom-light: #deaab6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8798",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 152
  },
  "hsl": {
    "h": 345.429,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69931,
    "c": 0.08818,
    "h": 3.8
  },
  "luminance": 0.32574
}

Semantic roles & 50–950 ramp

primary
#CD8798
secondary
#CDE3DE
accent
#B49431
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#151011
muted
#837F80

Preview Lab

Preview with #CD8798

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

Preview Lab → · Contrast checker → · Palette generator →

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