#CB98BD#CB98BD

#CB98BD is a light, moderate pink. Relative luminance 0.388; OKLCH L 73.9% C 0.078 H 336.6°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#CB98BD
RGBrgb(203, 152, 189)
HSLhsl(316, 33%, 70%)
HSVhsv(316, 25%, 80%)
CMYKcmyk(0%, 25.1%, 6.9%, 20.4%)
CIE-LABlab(68.63, 25.05, -11.67)
CIE-LCHlch(68.63, 27.63, 335.02°)
OKLaboklab(73.93% 0.0718 -0.031)
OKLCHoklch(73.93% 0.078 336.6)
XYZxyz(45.0416, 38.8287, 53.2563)
Luminance0.3883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB98BD #98CBA6
analogous
#C098CB #CB98BD #CB98A4
triadic
#CB98BD #BDCB98 #98BDCB
tetradic
#CB98BD #CBC098 #98CBA6 #98A4CB
square
#CB98BD #CBC098 #98CBA6 #98A4CB
split-complementary
#CB98BD #A4CB98 #98CBC0
monochromatic
#9B4E86 #B66FA3 #CB98BD #E0C1D7 #F4E9F1

Accessibility & contrast

On white

2.40
#CB98BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#CB98BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB98BD
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB98BD#FFFFFF#000000##000000
##CB98BD1.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A3BE
Deuteranopia (green-blind)
#A4AABB
Tritanopia (blue-blind)
#D199A5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cb98bd;
/* rgb */ color: rgb(203, 152, 189);
/* oklch */ color: oklch(73.9% 0.078 336.6);
Tailwind
colors: {
  custom: {
    50: '#dbb6d0',
    500: '#cb98bd',
    950: '#000000',
  },
}
SCSS
$custom: #cb98bd;
$custom-light: #dbb6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb98bd",
  "rgb": {
    "r": 203,
    "g": 152,
    "b": 189
  },
  "hsl": {
    "h": 316.471,
    "s": 32.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73928,
    "c": 0.0782,
    "h": 336.6
  },
  "luminance": 0.38827
}

Semantic roles & 50–950 ramp

primary
#CB98BD
secondary
#D8E7DC
accent
#AC593A
background
#FDFBFC
surface
#FBF6F9
border
#D4D0D2
text
#151114
muted
#838082

Preview Lab

Preview with #CB98BD

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

Preview Lab → · Contrast checker → · Palette generator →

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