#CB396A#CB396A

#CB396A is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.4% C 0.185 H 4.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CB396A
RGBrgb(203, 57, 106)
HSLhsl(340, 58%, 51%)
HSVhsv(340, 72%, 80%)
CMYKcmyk(0%, 71.9%, 47.8%, 20.4%)
CIE-LABlab(47.84, 60.26, 6.00)
CIE-LCHlch(47.84, 60.56, 5.69°)
OKLaboklab(57.43% 0.1842 0.0159)
OKLCHoklch(57.43% 0.185 4.9)
XYZxyz(28.6956, 16.6672, 15.3389)
Luminance0.1666 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB396A #39CB9A
analogous
#CB39B3 #CB396A #CB5139
triadic
#CB396A #6ACB39 #396ACB
tetradic
#CB396A #B3CB39 #39CB9A #5139CB
square
#CB396A #B3CB39 #39CB9A #5139CB
split-complementary
#CB396A #39CB51 #39B3CB
monochromatic
#6D1D38 #9D2950 #CB396A #D8698E #E49AB3

Accessibility & contrast

On white

4.85
#CB396A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#CB396A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB396A
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB396A#FFFFFF#000000##FFFFFF
##CB396A1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5F6B
Deuteranopia (green-blind)
#827C67
Tritanopia (blue-blind)
#DD1D4D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cb396a;
/* rgb */ color: rgb(203, 57, 106);
/* oklch */ color: oklch(57.4% 0.185 4.9);
Tailwind
colors: {
  custom: {
    50: '#e17b94',
    500: '#cb396a',
    950: '#000000',
  },
}
SCSS
$custom: #cb396a;
$custom-light: #e17b94;
$custom-dark: #000000;
JSON
{
  "hex": "#cb396a",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 106
  },
  "hsl": {
    "h": 339.863,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57429,
    "c": 0.18485,
    "h": 4.9
  },
  "luminance": 0.16663
}

Semantic roles & 50–950 ramp

primary
#CB396A
secondary
#90D0BB
accent
#E2AD46
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CB396A

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

Preview Lab → · Contrast checker → · Palette generator →

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