#CB3299#CB3299

#CB3299 is a mid, highly saturated pink. Relative luminance 0.173; OKLCH L 58.5% C 0.212 H 344.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CB3299
RGBrgb(203, 50, 153)
HSLhsl(320, 60%, 50%)
HSVhsv(320, 75%, 80%)
CMYKcmyk(0%, 75.4%, 24.6%, 20.4%)
CIE-LABlab(48.61, 67.59, -21.30)
CIE-LCHlch(48.61, 70.87, 342.51°)
OKLaboklab(58.52% 0.2045 -0.0568)
OKLCHoklch(58.52% 0.212 344.5)
XYZxyz(31.5203, 17.2810, 31.8064)
Luminance0.1728 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3299 #32CB64
analogous
#B132CB #CB3299 #CB324D
triadic
#CB3299 #99CB32 #3299CB
tetradic
#CB3299 #CBB132 #32CB64 #324DCB
square
#CB3299 #CBB132 #32CB64 #324DCB
split-complementary
#CB3299 #4DCB32 #32CBB1
monochromatic
#691A4F #9A2674 #CB3299 #D862B2 #E493CA

Accessibility & contrast

On white

4.71
#CB3299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#CB3299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3299
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3299#FFFFFF#000000##FFFFFF
##CB32991.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45639C
Deuteranopia (green-blind)
#747D96
Tritanopia (blue-blind)
#D93062
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cb3299;
/* rgb */ color: rgb(203, 50, 153);
/* oklch */ color: oklch(58.5% 0.212 344.5);
Tailwind
colors: {
  custom: {
    50: '#df79b7',
    500: '#cb3299',
    950: '#000000',
  },
}
SCSS
$custom: #cb3299;
$custom-light: #df79b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3299",
  "rgb": {
    "r": 203,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 319.608,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58516,
    "c": 0.21226,
    "h": 344.5
  },
  "luminance": 0.17278
}

Semantic roles & 50–950 ramp

primary
#CB3299
secondary
#89CFA0
accent
#E47844
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A11
muted
#847C80

Preview Lab

Preview with #CB3299

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

Preview Lab → · Contrast checker → · Palette generator →

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