#CB4C98#CB4C98

#CB4C98 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.0% C 0.180 H 346.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CB4C98
RGBrgb(203, 76, 152)
HSLhsl(324, 55%, 55%)
HSVhsv(324, 63%, 80%)
CMYKcmyk(0%, 62.6%, 25.1%, 20.4%)
CIE-LABlab(51.99, 57.94, -15.55)
CIE-LCHlch(51.99, 59.99, 344.98°)
OKLaboklab(60.97% 0.175 -0.041)
OKLCHoklch(60.97% 0.18 346.8)
XYZxyz(32.8818, 20.1356, 31.8545)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4C98 #4CCB7F
analogous
#BE4CCB #CB4C98 #CB4C59
triadic
#CB4C98 #98CB4C #4C98CB
tetradic
#CB4C98 #CBBE4C #4CCB7F #4C59CB
square
#CB4C98 #CBBE4C #4CCB7F #4C59CB
split-complementary
#CB4C98 #59CB4C #4CCBBE
monochromatic
#792357 #A93179 #CB4C98 #D97BB3 #E7ABCF

Accessibility & contrast

On white

4.18
#CB4C98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CB4C98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4C98
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4C98#FFFFFF#000000##000000
##CB4C981.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6E9A
Deuteranopia (green-blind)
#7E8495
Tritanopia (blue-blind)
#D8496B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb4c98;
/* rgb */ color: rgb(203, 76, 152);
/* oklch */ color: oklch(61.0% 0.180 346.8);
Tailwind
colors: {
  custom: {
    50: '#de85b6',
    500: '#cb4c98',
    950: '#000000',
  },
}
SCSS
$custom: #cb4c98;
$custom-light: #de85b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4c98",
  "rgb": {
    "r": 203,
    "g": 76,
    "b": 152
  },
  "hsl": {
    "h": 324.094,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60974,
    "c": 0.17973,
    "h": 346.8
  },
  "luminance": 0.20132
}

Semantic roles & 50–950 ramp

primary
#CB4C98
secondary
#9FD4B4
accent
#DE8549
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB4C98

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

Preview Lab → · Contrast checker → · Palette generator →

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