#CB396F#CB396F

#CB396F is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.6% C 0.186 H 2.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CB396F
RGBrgb(203, 57, 111)
HSLhsl(338, 58%, 51%)
HSVhsv(338, 72%, 80%)
CMYKcmyk(0%, 71.9%, 45.3%, 20.4%)
CIE-LABlab(47.97, 60.71, 3.14)
CIE-LCHlch(47.97, 60.79, 2.96°)
OKLaboklab(57.57% 0.1859 0.0087)
OKLCHoklch(57.57% 0.186 2.7)
XYZxyz(28.9632, 16.7742, 16.7484)
Luminance0.1677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB396F #39CB95
analogous
#CB39B8 #CB396F #CB4C39
triadic
#CB396F #6FCB39 #396FCB
tetradic
#CB396F #B8CB39 #39CB95 #4C39CB
square
#CB396F #B8CB39 #39CB95 #4C39CB
split-complementary
#CB396F #39CB4C #39B8CB
monochromatic
#6D1D3A #9D2954 #CB396F #D86992 #E49AB6

Accessibility & contrast

On white

4.82
#CB396F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#CB396F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB396F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB396F#FFFFFF#000000##FFFFFF
##CB396F1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6070
Deuteranopia (green-blind)
#817C6C
Tritanopia (blue-blind)
#DC2050
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cb396f;
/* rgb */ color: rgb(203, 57, 111);
/* oklch */ color: oklch(57.6% 0.186 2.7);
Tailwind
colors: {
  custom: {
    50: '#e07b98',
    500: '#cb396f',
    950: '#000000',
  },
}
SCSS
$custom: #cb396f;
$custom-light: #e07b98;
$custom-dark: #000000;
JSON
{
  "hex": "#cb396f",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 337.808,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57574,
    "c": 0.18613,
    "h": 2.7
  },
  "luminance": 0.1677
}

Semantic roles & 50–950 ramp

primary
#CB396F
secondary
#90D0B8
accent
#E2A846
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CB396F

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

Preview Lab → · Contrast checker → · Palette generator →

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