#CB8EA2#CB8EA2

#CB8EA2 is a light, moderate pink. Relative luminance 0.347; OKLCH L 71.2% C 0.078 H 357.9°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#CB8EA2
RGBrgb(203, 142, 162)
HSLhsl(340, 37%, 68%)
HSVhsv(340, 30%, 80%)
CMYKcmyk(0%, 30%, 20.2%, 20.4%)
CIE-LABlab(65.48, 26.05, -1.21)
CIE-LCHlch(65.48, 26.08, 357.34°)
OKLaboklab(71.25% 0.0781 -0.0028)
OKLCHoklch(71.25% 0.078 357.9)
XYZxyz(40.8237, 34.6533, 38.7139)
Luminance0.3465 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8EA2 #8ECBB7
analogous
#CB8EC0 #CB8EA2 #CB988E
triadic
#CB8EA2 #A2CB8E #8EA2CB
tetradic
#CB8EA2 #C0CB8E #8ECBB7 #988ECB
square
#CB8EA2 #C0CB8E #8ECBB7 #988ECB
split-complementary
#CB8EA2 #8ECB98 #8EC0CB
monochromatic
#984661 #B86480 #CB8EA2 #DEB8C4 #F2E2E7

Accessibility & contrast

On white

2.65
#CB8EA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#CB8EA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8EA2
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8EA2#FFFFFF#000000##000000
##CB8EA21.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9599A3
Deuteranopia (green-blind)
#A4A3A1
Tritanopia (blue-blind)
#D58B95
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cb8ea2;
/* rgb */ color: rgb(203, 142, 162);
/* oklch */ color: oklch(71.2% 0.078 357.9);
Tailwind
colors: {
  custom: {
    50: '#dcafbd',
    500: '#cb8ea2',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ea2;
$custom-light: #dcafbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ea2",
  "rgb": {
    "r": 203,
    "g": 142,
    "b": 162
  },
  "hsl": {
    "h": 340.328,
    "s": 36.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71245,
    "c": 0.07817,
    "h": 357.9
  },
  "luminance": 0.34651
}

Semantic roles & 50–950 ramp

primary
#CB8EA2
secondary
#D1E4DE
accent
#B08836
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CB8EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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