#CB386B#CB386B

#CB386B is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.4% C 0.186 H 4.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CB386B
RGBrgb(203, 56, 107)
HSLhsl(339, 59%, 51%)
HSVhsv(339, 72%, 80%)
CMYKcmyk(0%, 72.4%, 47.3%, 20.4%)
CIE-LABlab(47.74, 60.70, 5.25)
CIE-LCHlch(47.74, 60.93, 4.94°)
OKLaboklab(57.37% 0.1856 0.0141)
OKLCHoklch(57.37% 0.186 4.3)
XYZxyz(28.6990, 16.5902, 15.5980)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB386B #38CB98
analogous
#CB38B4 #CB386B #CB4E38
triadic
#CB386B #6BCB38 #386BCB
tetradic
#CB386B #B4CB38 #38CB98 #4E38CB
square
#CB386B #B4CB38 #38CB98 #4E38CB
split-complementary
#CB386B #38CB4E #38B4CB
monochromatic
#6C1C38 #9D2951 #CB386B #D8698F #E499B3

Accessibility & contrast

On white

4.86
#CB386B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#CB386B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB386B
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB386B#FFFFFF#000000##FFFFFF
##CB386B1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5F6C
Deuteranopia (green-blind)
#817C68
Tritanopia (blue-blind)
#DD1C4D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cb386b;
/* rgb */ color: rgb(203, 56, 107);
/* oklch */ color: oklch(57.4% 0.186 4.3);
Tailwind
colors: {
  custom: {
    50: '#e17a95',
    500: '#cb386b',
    950: '#000000',
  },
}
SCSS
$custom: #cb386b;
$custom-light: #e17a95;
$custom-dark: #000000;
JSON
{
  "hex": "#cb386b",
  "rgb": {
    "r": 203,
    "g": 56,
    "b": 107
  },
  "hsl": {
    "h": 339.184,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57365,
    "c": 0.18617,
    "h": 4.3
  },
  "luminance": 0.16586
}

Semantic roles & 50–950 ramp

primary
#CB386B
secondary
#8FD0B9
accent
#E2AC46
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CB386B

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

Preview Lab → · Contrast checker → · Palette generator →

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