#CB399E#CB399E

#CB399E is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.3% C 0.208 H 343.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CB399E
RGBrgb(203, 57, 158)
HSLhsl(318, 58%, 51%)
HSVhsv(318, 72%, 80%)
CMYKcmyk(0%, 71.9%, 22.2%, 20.4%)
CIE-LABlab(49.61, 65.99, -22.74)
CIE-LCHlch(49.61, 69.80, 340.98°)
OKLaboklab(59.31% 0.1985 -0.0609)
OKLCHoklch(59.31% 0.208 343)
XYZxyz(32.2644, 18.0947, 34.1346)
Luminance0.1809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB399E #39CB66
analogous
#AF39CB #CB399E #CB3955
triadic
#CB399E #9ECB39 #399ECB
tetradic
#CB399E #CBAF39 #39CB66 #3955CB
square
#CB399E #CBAF39 #39CB66 #3955CB
split-complementary
#CB399E #55CB39 #39CBAF
monochromatic
#6D1D54 #9D297A #CB399E #D869B6 #E49ACD

Accessibility & contrast

On white

4.55
#CB399E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#CB399E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB399E
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB399E#FFFFFF#000000##000000
##CB399E1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4867A1
Deuteranopia (green-blind)
#757F9B
Tritanopia (blue-blind)
#D83A67
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb399e;
/* rgb */ color: rgb(203, 57, 158);
/* oklch */ color: oklch(59.3% 0.208 343.0);
Tailwind
colors: {
  custom: {
    50: '#df7cbb',
    500: '#cb399e',
    950: '#000000',
  },
}
SCSS
$custom: #cb399e;
$custom-light: #df7cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb399e",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 158
  },
  "hsl": {
    "h": 318.493,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59309,
    "c": 0.20765,
    "h": 343
  },
  "luminance": 0.18091
}

Semantic roles & 50–950 ramp

primary
#CB399E
secondary
#90D0A3
accent
#E27646
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CB399E

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

Preview Lab → · Contrast checker → · Palette generator →

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