#CB4198#CB4198

#CB4198 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.8% C 0.194 H 345.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CB4198
RGBrgb(203, 65, 152)
HSLhsl(322, 57%, 53%)
HSVhsv(322, 68%, 80%)
CMYKcmyk(0%, 68%, 25.1%, 20.4%)
CIE-LABlab(50.39, 62.35, -17.98)
CIE-LCHlch(50.39, 64.89, 343.91°)
OKLaboklab(59.8% 0.1885 -0.0477)
OKLCHoklch(59.8% 0.194 345.8)
XYZxyz(32.1877, 18.7474, 31.6232)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4198 #41CB74
analogous
#B941CB #CB4198 #CB4153
triadic
#CB4198 #98CB41 #4198CB
tetradic
#CB4198 #CBB941 #41CB74 #4153CB
square
#CB4198 #CBB941 #41CB74 #4153CB
split-complementary
#CB4198 #53CB41 #41CBB9
monochromatic
#721F54 #A22C77 #CB4198 #D871B2 #E5A1CC

Accessibility & contrast

On white

4.42
#CB4198 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CB4198 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4198
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4198#FFFFFF#000000##000000
##CB41981.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#51699A
Deuteranopia (green-blind)
#7A8195
Tritanopia (blue-blind)
#D83E67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb4198;
/* rgb */ color: rgb(203, 65, 152);
/* oklch */ color: oklch(59.8% 0.194 345.8);
Tailwind
colors: {
  custom: {
    50: '#df80b6',
    500: '#cb4198',
    950: '#000000',
  },
}
SCSS
$custom: #cb4198;
$custom-light: #df80b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4198",
  "rgb": {
    "r": 203,
    "g": 65,
    "b": 152
  },
  "hsl": {
    "h": 322.174,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59799,
    "c": 0.19447,
    "h": 345.8
  },
  "luminance": 0.18744
}

Semantic roles & 50–950 ramp

primary
#CB4198
secondary
#96D2AC
accent
#E08048
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CB4198

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

Preview Lab → · Contrast checker → · Palette generator →

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