#CB978E#CB978E

#CB978E is a light, moderate red. Relative luminance 0.368; OKLCH L 72.3% C 0.064 H 29.8°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#CB978E
RGBrgb(203, 151, 142)
HSLhsl(9, 37%, 68%)
HSVhsv(9, 30%, 80%)
CMYKcmyk(0%, 25.6%, 30%, 20.4%)
CIE-LABlab(67.12, 18.24, 12.37)
CIE-LCHlch(67.12, 22.04, 34.15°)
OKLaboklab(72.34% 0.0559 0.0321)
OKLCHoklch(72.34% 0.064 29.8)
XYZxyz(40.5786, 36.7849, 30.5488)
Luminance0.3678 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB978E #8EC2CB
analogous
#CB8EA4 #CB978E #CBB58E
triadic
#CB978E #8ECB97 #978ECB
tetradic
#CB978E #A4CB8E #8EC2CB #B58ECB
square
#CB978E #A4CB8E #8EC2CB #B58ECB
split-complementary
#CB978E #8ECBB5 #8EA4CB
monochromatic
#985246 #B87064 #CB978E #DEBEB8 #F2E4E2

Accessibility & contrast

On white

2.51
#CB978E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#CB978E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB978E
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB978E#FFFFFF#000000##000000
##CB978E1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29D8D
Deuteranopia (green-blind)
#AEA78D
Tritanopia (blue-blind)
#D79195
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cb978e;
/* rgb */ color: rgb(203, 151, 142);
/* oklch */ color: oklch(72.3% 0.064 29.8);
Tailwind
colors: {
  custom: {
    50: '#dcb5af',
    500: '#cb978e',
    950: '#000000',
  },
}
SCSS
$custom: #cb978e;
$custom-light: #dcb5af;
$custom-dark: #000000;
JSON
{
  "hex": "#cb978e",
  "rgb": {
    "r": 203,
    "g": 151,
    "b": 142
  },
  "hsl": {
    "h": 8.852,
    "s": 36.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72342,
    "c": 0.06441,
    "h": 29.8
  },
  "luminance": 0.36783
}

Semantic roles & 50–950 ramp

primary
#CB978E
secondary
#D1E1E4
accent
#9EB036
background
#FDFBFA
surface
#FBF6F4
border
#D4D0CE
text
#151110
muted
#83807F

Preview Lab

Preview with #CB978E

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

Preview Lab → · Contrast checker → · Palette generator →

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