#CD9798#CD9798

#CD9798 is a light, moderate red. Relative luminance 0.374; OKLCH L 72.8% C 0.065 H 17.6°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#CD9798
RGBrgb(205, 151, 152)
HSLhsl(359, 35%, 70%)
HSVhsv(359, 26%, 80%)
CMYKcmyk(0%, 26.3%, 25.9%, 19.6%)
CIE-LABlab(67.56, 20.39, 7.45)
CIE-LCHlch(67.56, 21.71, 20.08°)
OKLaboklab(72.81% 0.0621 0.0197)
OKLCHoklch(72.81% 0.065 17.6)
XYZxyz(41.9117, 37.3815, 34.7074)
Luminance0.3738 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9798 #97CDCC
analogous
#CD97B3 #CD9798 #CDB197
triadic
#CD9798 #98CD97 #9798CD
tetradic
#CD9798 #B3CD97 #97CDCC #B197CD
square
#CD9798 #B3CD97 #97CDCC #B197CD
split-complementary
#CD9798 #97CDB1 #97B3CD
monochromatic
#9E4C4D #B96E6F #CD9798 #E1C0C1 #F5EAEA

Accessibility & contrast

On white

2.48
#CD9798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#CD9798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9798
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9798#FFFFFF#000000##000000
##CD97981.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19F98
Deuteranopia (green-blind)
#ADA897
Tritanopia (blue-blind)
#D89298
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd9798;
/* rgb */ color: rgb(205, 151, 152);
/* oklch */ color: oklch(72.8% 0.065 17.6);
Tailwind
colors: {
  custom: {
    50: '#ddb6b6',
    500: '#cd9798',
    950: '#000000',
  },
}
SCSS
$custom: #cd9798;
$custom-light: #ddb6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9798",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 152
  },
  "hsl": {
    "h": 358.889,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72813,
    "c": 0.06516,
    "h": 17.6
  },
  "luminance": 0.37379
}

Semantic roles & 50–950 ramp

primary
#CD9798
secondary
#D8E8E7
accent
#AEAC38
background
#FDFBFB
surface
#FBF6F6
border
#D4D0D0
text
#151111
muted
#838080

Preview Lab

Preview with #CD9798

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

Preview Lab → · Contrast checker → · Palette generator →

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