#CB399D#CB399D

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

Color values

HEX#CB399D
RGBrgb(203, 57, 157)
HSLhsl(319, 58%, 51%)
HSVhsv(319, 72%, 80%)
CMYKcmyk(0%, 71.9%, 22.7%, 20.4%)
CIE-LABlab(49.57, 65.86, -22.21)
CIE-LCHlch(49.57, 69.50, 341.36°)
OKLaboklab(59.27% 0.1984 -0.0594)
OKLCHoklch(59.27% 0.207 343.3)
XYZxyz(32.1787, 18.0604, 33.6831)
Luminance0.1806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB399D #39CB67
analogous
#B039CB #CB399D #CB3954
triadic
#CB399D #9DCB39 #399DCB
tetradic
#CB399D #CBB039 #39CB67 #3954CB
square
#CB399D #CBB039 #39CB67 #3954CB
split-complementary
#CB399D #54CB39 #39CBB0
monochromatic
#6D1D54 #9D2979 #CB399D #D869B5 #E49ACD

Accessibility & contrast

On white

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

On black

4.61
#CB399D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB399D
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB399D#FFFFFF#000000##000000
##CB399D1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4866A0
Deuteranopia (green-blind)
#757F9A
Tritanopia (blue-blind)
#D83966
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb399d;
/* rgb */ color: rgb(203, 57, 157);
/* oklch */ color: oklch(59.3% 0.207 343.3);
Tailwind
colors: {
  custom: {
    50: '#df7cba',
    500: '#cb399d',
    950: '#000000',
  },
}
SCSS
$custom: #cb399d;
$custom-light: #df7cba;
$custom-dark: #000000;
JSON
{
  "hex": "#cb399d",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 318.904,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59265,
    "c": 0.20705,
    "h": 343.3
  },
  "luminance": 0.18057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB399D

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

Preview Lab → · Contrast checker → · Palette generator →

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