#CB8FA7#CB8FA7

#CB8FA7 is a light, moderate pink. Relative luminance 0.351; OKLCH L 71.6% C 0.079 H 353.6°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#CB8FA7
RGBrgb(203, 143, 167)
HSLhsl(336, 37%, 68%)
HSVhsv(336, 30%, 80%)
CMYKcmyk(0%, 29.6%, 17.7%, 20.4%)
CIE-LABlab(65.85, 26.28, -3.48)
CIE-LCHlch(65.85, 26.51, 352.47°)
OKLaboklab(71.58% 0.0783 -0.0088)
OKLCHoklch(71.58% 0.079 353.6)
XYZxyz(41.4264, 35.1335, 41.1511)
Luminance0.3513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8FA7 #8FCBB3
analogous
#CB8FC5 #CB8FA7 #CB958F
triadic
#CB8FA7 #A7CB8F #8FA7CB
tetradic
#CB8FA7 #C5CB8F #8FCBB3 #958FCB
square
#CB8FA7 #C5CB8F #8FCBB3 #958FCB
split-complementary
#CB8FA7 #8FCB95 #8FC5CB
monochromatic
#994768 #B86586 #CB8FA7 #DEB9C8 #F2E3E9

Accessibility & contrast

On white

2.62
#CB8FA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#CB8FA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8FA7
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8FA7#FFFFFF#000000##000000
##CB8FA71.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#959AA8
Deuteranopia (green-blind)
#A3A4A6
Tritanopia (blue-blind)
#D48D97
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cb8fa7;
/* rgb */ color: rgb(203, 143, 167);
/* oklch */ color: oklch(71.6% 0.079 353.6);
Tailwind
colors: {
  custom: {
    50: '#dcb0c1',
    500: '#cb8fa7',
    950: '#000000',
  },
}
SCSS
$custom: #cb8fa7;
$custom-light: #dcb0c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8fa7",
  "rgb": {
    "r": 203,
    "g": 143,
    "b": 167
  },
  "hsl": {
    "h": 336,
    "s": 36.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71579,
    "c": 0.07884,
    "h": 353.6
  },
  "luminance": 0.35131
}

Semantic roles & 50–950 ramp

primary
#CB8FA7
secondary
#D2E4DD
accent
#AF7F36
background
#FDFAFB
surface
#FBF5F7
border
#D4CFD0
text
#151012
muted
#837F81

Preview Lab

Preview with #CB8FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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