#CB4B98#CB4B98

#CB4B98 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.9% C 0.181 H 346.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CB4B98
RGBrgb(203, 75, 152)
HSLhsl(324, 55%, 55%)
HSVhsv(324, 63%, 80%)
CMYKcmyk(0%, 63.1%, 25.1%, 20.4%)
CIE-LABlab(51.84, 58.36, -15.78)
CIE-LCHlch(51.84, 60.46, 344.87°)
OKLaboklab(60.86% 0.1763 -0.0416)
OKLCHoklch(60.86% 0.181 346.7)
XYZxyz(32.8134, 19.9989, 31.8317)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4B98 #4BCB7E
analogous
#BE4BCB #CB4B98 #CB4B58
triadic
#CB4B98 #98CB4B #4B98CB
tetradic
#CB4B98 #CBBE4B #4BCB7E #4B58CB
square
#CB4B98 #CBBE4B #4BCB7E #4B58CB
split-complementary
#CB4B98 #58CB4B #4BCBBE
monochromatic
#792357 #A83179 #CB4B98 #D97AB3 #E6AACE

Accessibility & contrast

On white

4.20
#CB4B98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CB4B98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4B98
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4B98#FFFFFF#000000##000000
##CB4B981.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#596E9A
Deuteranopia (green-blind)
#7E8495
Tritanopia (blue-blind)
#D8486B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb4b98;
/* rgb */ color: rgb(203, 75, 152);
/* oklch */ color: oklch(60.9% 0.181 346.7);
Tailwind
colors: {
  custom: {
    50: '#de85b6',
    500: '#cb4b98',
    950: '#000000',
  },
}
SCSS
$custom: #cb4b98;
$custom-light: #de85b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4b98",
  "rgb": {
    "r": 203,
    "g": 75,
    "b": 152
  },
  "hsl": {
    "h": 323.906,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.6086,
    "c": 0.18113,
    "h": 346.7
  },
  "luminance": 0.19996
}

Semantic roles & 50–950 ramp

primary
#CB4B98
secondary
#9ED4B3
accent
#DF8549
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB4B98

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

Preview Lab → · Contrast checker → · Palette generator →

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