#CB8EA7#CB8EA7

#CB8EA7 is a light, moderate pink. Relative luminance 0.348; OKLCH L 71.4% C 0.081 H 353.0°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#CB8EA7
RGBrgb(203, 142, 167)
HSLhsl(335, 37%, 68%)
HSVhsv(335, 30%, 80%)
CMYKcmyk(0%, 30%, 17.7%, 20.4%)
CIE-LABlab(65.62, 26.83, -3.82)
CIE-LCHlch(65.62, 27.10, 351.90°)
OKLaboklab(71.4% 0.0799 -0.0097)
OKLCHoklch(71.4% 0.081 353)
XYZxyz(41.2770, 34.8346, 41.1013)
Luminance0.3483 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8EA7 #8ECBB2
analogous
#CB8EC5 #CB8EA7 #CB938E
triadic
#CB8EA7 #A7CB8E #8EA7CB
tetradic
#CB8EA7 #C5CB8E #8ECBB2 #938ECB
square
#CB8EA7 #C5CB8E #8ECBB2 #938ECB
split-complementary
#CB8EA7 #8ECB93 #8EC5CB
monochromatic
#984668 #B86486 #CB8EA7 #DEB8C8 #F2E2E8

Accessibility & contrast

On white

2.64
#CB8EA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#CB8EA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8EA7
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8EA7#FFFFFF#000000##000000
##CB8EA71.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9499A8
Deuteranopia (green-blind)
#A3A3A6
Tritanopia (blue-blind)
#D48C97
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cb8ea7;
/* rgb */ color: rgb(203, 142, 167);
/* oklch */ color: oklch(71.4% 0.081 353.0);
Tailwind
colors: {
  custom: {
    50: '#dcafc1',
    500: '#cb8ea7',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ea7;
$custom-light: #dcafc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ea7",
  "rgb": {
    "r": 203,
    "g": 142,
    "b": 167
  },
  "hsl": {
    "h": 335.41,
    "s": 36.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.714,
    "c": 0.08052,
    "h": 353
  },
  "luminance": 0.34833
}

Semantic roles & 50–950 ramp

primary
#CB8EA7
secondary
#D1E4DC
accent
#B07E36
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CB8EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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