#CB386F#CB386F

#CB386F is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.5% C 0.187 H 2.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#CB386F
RGBrgb(203, 56, 111)
HSLhsl(338, 59%, 51%)
HSVhsv(338, 72%, 80%)
CMYKcmyk(0%, 72.4%, 45.3%, 20.4%)
CIE-LABlab(47.85, 61.06, 2.96)
CIE-LCHlch(47.85, 61.13, 2.78°)
OKLaboklab(57.48% 0.187 0.0083)
OKLCHoklch(57.48% 0.187 2.5)
XYZxyz(28.9143, 16.6763, 16.7321)
Luminance0.1667 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB386F #38CB94
analogous
#CB38B8 #CB386F #CB4A38
triadic
#CB386F #6FCB38 #386FCB
tetradic
#CB386F #B8CB38 #38CB94 #4A38CB
square
#CB386F #B8CB38 #38CB94 #4A38CB
split-complementary
#CB386F #38CB4A #38B8CB
monochromatic
#6C1C3A #9D2954 #CB386F #D86992 #E499B5

Accessibility & contrast

On white

4.84
#CB386F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CB386F
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB386F#FFFFFF#000000##FFFFFF
##CB386F1.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595F70
Deuteranopia (green-blind)
#807C6C
Tritanopia (blue-blind)
#DC1F4F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cb386f;
/* rgb */ color: rgb(203, 56, 111);
/* oklch */ color: oklch(57.5% 0.187 2.5);
Tailwind
colors: {
  custom: {
    50: '#e07a98',
    500: '#cb386f',
    950: '#000000',
  },
}
SCSS
$custom: #cb386f;
$custom-light: #e07a98;
$custom-dark: #000000;
JSON
{
  "hex": "#cb386f",
  "rgb": {
    "r": 203,
    "g": 56,
    "b": 111
  },
  "hsl": {
    "h": 337.551,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57482,
    "c": 0.18722,
    "h": 2.5
  },
  "luminance": 0.16673
}

Semantic roles & 50–950 ramp

primary
#CB386F
secondary
#8FD0B8
accent
#E2A846
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CB386F

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

Preview Lab → · Contrast checker → · Palette generator →

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