#CB8CA7#CB8CA7

#CB8CA7 is a light, moderate pink. Relative luminance 0.342; OKLCH L 71.0% C 0.084 H 352.1°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#CB8CA7
RGBrgb(203, 140, 167)
HSLhsl(334, 38%, 67%)
HSVhsv(334, 31%, 80%)
CMYKcmyk(0%, 31%, 17.7%, 20.4%)
CIE-LABlab(65.16, 27.92, -4.50)
CIE-LCHlch(65.16, 28.28, 350.84°)
OKLaboklab(71.05% 0.0831 -0.0116)
OKLCHoklch(71.05% 0.084 352.1)
XYZxyz(40.9821, 34.2448, 41.0030)
Luminance0.3424 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8CA7 #8CCBB0
analogous
#CB8CC7 #CB8CA7 #CB918C
triadic
#CB8CA7 #A7CB8C #8CA7CB
tetradic
#CB8CA7 #C7CB8C #8CCBB0 #918CCB
square
#CB8CA7 #C7CB8C #8CCBB0 #918CCB
split-complementary
#CB8CA7 #8CCB91 #8CC7CB
monochromatic
#984568 #B86287 #CB8CA7 #DEB6C7 #F1E0E7

Accessibility & contrast

On white

2.68
#CB8CA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#CB8CA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8CA7
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8CA7#FFFFFF#000000##000000
##CB8CA71.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9298A8
Deuteranopia (green-blind)
#A1A2A5
Tritanopia (blue-blind)
#D48A95
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cb8ca7;
/* rgb */ color: rgb(203, 140, 167);
/* oklch */ color: oklch(71.0% 0.084 352.1);
Tailwind
colors: {
  custom: {
    50: '#dcaec1',
    500: '#cb8ca7',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ca7;
$custom-light: #dcaec1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ca7",
  "rgb": {
    "r": 203,
    "g": 140,
    "b": 167
  },
  "hsl": {
    "h": 334.286,
    "s": 37.725,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71045,
    "c": 0.08393,
    "h": 352.1
  },
  "luminance": 0.34243
}

Semantic roles & 50–950 ramp

primary
#CB8CA7
secondary
#CFE3DB
accent
#B17C35
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CB8CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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