#CB4298#CB4298

#CB4298 is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.9% C 0.193 H 345.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CB4298
RGBrgb(203, 66, 152)
HSLhsl(322, 57%, 53%)
HSVhsv(322, 67%, 80%)
CMYKcmyk(0%, 67.5%, 25.1%, 20.4%)
CIE-LABlab(50.53, 61.97, -17.77)
CIE-LCHlch(50.53, 64.47, 344.00°)
OKLaboklab(59.9% 0.1874 -0.0471)
OKLCHoklch(59.9% 0.193 345.9)
XYZxyz(32.2456, 18.8632, 31.6425)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4298 #42CB75
analogous
#B942CB #CB4298 #CB4253
triadic
#CB4298 #98CB42 #4298CB
tetradic
#CB4298 #CBB942 #42CB75 #4253CB
square
#CB4298 #CBB942 #42CB75 #4253CB
split-complementary
#CB4298 #53CB42 #42CBB9
monochromatic
#732054 #A32D77 #CB4298 #D872B2 #E5A2CC

Accessibility & contrast

On white

4.40
#CB4298 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#CB4298 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4298
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4298#FFFFFF#000000##000000
##CB42981.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb4298;
/* rgb */ color: rgb(203, 66, 152);
/* oklch */ color: oklch(59.9% 0.193 345.9);
Tailwind
colors: {
  custom: {
    50: '#df80b6',
    500: '#cb4298',
    950: '#000000',
  },
}
SCSS
$custom: #cb4298;
$custom-light: #df80b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4298",
  "rgb": {
    "r": 203,
    "g": 66,
    "b": 152
  },
  "hsl": {
    "h": 322.336,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59899,
    "c": 0.19321,
    "h": 345.9
  },
  "luminance": 0.1886
}

Semantic roles & 50–950 ramp

primary
#CB4298
secondary
#97D2AD
accent
#E08048
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CB4298

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

Preview Lab → · Contrast checker → · Palette generator →

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