#CB399F#CB399F

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

Color values

HEX#CB399F
RGBrgb(203, 57, 159)
HSLhsl(318, 58%, 51%)
HSVhsv(318, 72%, 80%)
CMYKcmyk(0%, 71.9%, 21.7%, 20.4%)
CIE-LABlab(49.65, 66.12, -23.27)
CIE-LCHlch(49.65, 70.09, 340.61°)
OKLaboklab(59.35% 0.1987 -0.0624)
OKLCHoklch(59.35% 0.208 342.6)
XYZxyz(32.3508, 18.1293, 34.5897)
Luminance0.1813 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB399F #39CB65
analogous
#AE39CB #CB399F #CB3956
triadic
#CB399F #9FCB39 #399FCB
tetradic
#CB399F #CBAE39 #39CB65 #3956CB
square
#CB399F #CBAE39 #39CB65 #3956CB
split-complementary
#CB399F #56CB39 #39CBAE
monochromatic
#6D1D55 #9D297A #CB399F #D869B7 #E49ACE

Accessibility & contrast

On white

4.54
#CB399F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#CB399F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB399F
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB399F#FFFFFF#000000##000000
##CB399F1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4767A2
Deuteranopia (green-blind)
#747F9C
Tritanopia (blue-blind)
#D83A67
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb399f;
/* rgb */ color: rgb(203, 57, 159);
/* oklch */ color: oklch(59.4% 0.208 342.6);
Tailwind
colors: {
  custom: {
    50: '#df7cbb',
    500: '#cb399f',
    950: '#000000',
  },
}
SCSS
$custom: #cb399f;
$custom-light: #df7cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb399f",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 159
  },
  "hsl": {
    "h": 318.082,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59353,
    "c": 0.20826,
    "h": 342.6
  },
  "luminance": 0.18126
}

Semantic roles & 50–950 ramp

primary
#CB399F
secondary
#90D0A3
accent
#E27546
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB399F

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

Preview Lab → · Contrast checker → · Palette generator →

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