#CB399A#CB399A

#CB399A is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.1% C 0.205 H 344.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CB399A
RGBrgb(203, 57, 154)
HSLhsl(320, 58%, 51%)
HSVhsv(320, 72%, 80%)
CMYKcmyk(0%, 71.9%, 24.1%, 20.4%)
CIE-LABlab(49.45, 65.47, -20.62)
CIE-LCHlch(49.45, 68.64, 342.52°)
OKLaboklab(59.14% 0.1978 -0.0549)
OKLCHoklch(59.14% 0.205 344.5)
XYZxyz(31.9257, 17.9592, 32.3507)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB399A #39CB6A
analogous
#B339CB #CB399A #CB3951
triadic
#CB399A #9ACB39 #399ACB
tetradic
#CB399A #CBB339 #39CB6A #3951CB
square
#CB399A #CBB339 #39CB6A #3951CB
split-complementary
#CB399A #51CB39 #39CBB3
monochromatic
#6D1D52 #9D2976 #CB399A #D869B3 #E49ACB

Accessibility & contrast

On white

4.57
#CB399A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#CB399A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB399A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB399A#FFFFFF#000000##000000
##CB399A1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A669D
Deuteranopia (green-blind)
#767E97
Tritanopia (blue-blind)
#D83865
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb399a;
/* rgb */ color: rgb(203, 57, 154);
/* oklch */ color: oklch(59.1% 0.205 344.5);
Tailwind
colors: {
  custom: {
    50: '#df7cb8',
    500: '#cb399a',
    950: '#000000',
  },
}
SCSS
$custom: #cb399a;
$custom-light: #df7cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb399a",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 154
  },
  "hsl": {
    "h": 320.137,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59136,
    "c": 0.20527,
    "h": 344.5
  },
  "luminance": 0.17956
}

Semantic roles & 50–950 ramp

primary
#CB399A
secondary
#90D0A5
accent
#E27A46
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160A11
muted
#847C80

Preview Lab

Preview with #CB399A

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

Preview Lab → · Contrast checker → · Palette generator →

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