#CB399C#CB399C

#CB399C is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.2% C 0.206 H 343.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CB399C
RGBrgb(203, 57, 156)
HSLhsl(319, 58%, 51%)
HSVhsv(319, 72%, 80%)
CMYKcmyk(0%, 71.9%, 23.2%, 20.4%)
CIE-LABlab(49.53, 65.73, -21.68)
CIE-LCHlch(49.53, 69.21, 341.74°)
OKLaboklab(59.22% 0.1982 -0.0579)
OKLCHoklch(59.22% 0.206 343.7)
XYZxyz(32.0937, 18.0264, 33.2353)
Luminance0.1802 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB399C #39CB68
analogous
#B139CB #CB399C #CB3953
triadic
#CB399C #9CCB39 #399CCB
tetradic
#CB399C #CBB139 #39CB68 #3953CB
square
#CB399C #CBB139 #39CB68 #3953CB
split-complementary
#CB399C #53CB39 #39CBB1
monochromatic
#6D1D53 #9D2978 #CB399C #D869B4 #E49ACC

Accessibility & contrast

On white

4.56
#CB399C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#CB399C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB399C
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB399C#FFFFFF#000000##000000
##CB399C1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#49669F
Deuteranopia (green-blind)
#757F99
Tritanopia (blue-blind)
#D83966
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb399c;
/* rgb */ color: rgb(203, 57, 156);
/* oklch */ color: oklch(59.2% 0.206 343.7);
Tailwind
colors: {
  custom: {
    50: '#df7cb9',
    500: '#cb399c',
    950: '#000000',
  },
}
SCSS
$custom: #cb399c;
$custom-light: #df7cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb399c",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 156
  },
  "hsl": {
    "h": 319.315,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59222,
    "c": 0.20645,
    "h": 343.7
  },
  "luminance": 0.18023
}

Semantic roles & 50–950 ramp

primary
#CB399C
secondary
#90D0A4
accent
#E27846
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CB399C

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

Preview Lab → · Contrast checker → · Palette generator →

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