#CB4E98#CB4E98

#CB4E98 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.2% C 0.177 H 347.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CB4E98
RGBrgb(203, 78, 152)
HSLhsl(324, 55%, 55%)
HSVhsv(324, 62%, 80%)
CMYKcmyk(0%, 61.6%, 25.1%, 20.4%)
CIE-LABlab(52.30, 57.09, -15.07)
CIE-LCHlch(52.30, 59.04, 345.21°)
OKLaboklab(61.21% 0.1724 -0.0397)
OKLCHoklch(61.21% 0.177 347)
XYZxyz(33.0217, 20.4155, 31.9012)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4E98 #4ECB81
analogous
#BF4ECB #CB4E98 #CB4E59
triadic
#CB4E98 #98CB4E #4E98CB
tetradic
#CB4E98 #CBBF4E #4ECB81 #4E59CB
square
#CB4E98 #CBBF4E #4ECB81 #4E59CB
split-complementary
#CB4E98 #59CB4E #4ECBBF
monochromatic
#7B2457 #AA3279 #CB4E98 #D97DB4 #E7ADCF

Accessibility & contrast

On white

4.13
#CB4E98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CB4E98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4E98
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4E98#FFFFFF#000000##000000
##CB4E981.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6F9A
Deuteranopia (green-blind)
#7F8595
Tritanopia (blue-blind)
#D84B6C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb4e98;
/* rgb */ color: rgb(203, 78, 152);
/* oklch */ color: oklch(61.2% 0.177 347.0);
Tailwind
colors: {
  custom: {
    50: '#de86b6',
    500: '#cb4e98',
    950: '#000000',
  },
}
SCSS
$custom: #cb4e98;
$custom-light: #de86b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4e98",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 324.48,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61205,
    "c": 0.17689,
    "h": 347
  },
  "luminance": 0.20412
}

Semantic roles & 50–950 ramp

primary
#CB4E98
secondary
#A0D5B6
accent
#DE864A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB4E98

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

Preview Lab → · Contrast checker → · Palette generator →

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