#CF386B#CF386B

#CF386B is a mid, vivid pink. Relative luminance 0.172; OKLCH L 58.0% C 0.190 H 5.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CF386B
RGBrgb(207, 56, 107)
HSLhsl(340, 61%, 52%)
HSVhsv(340, 73%, 81%)
CMYKcmyk(0%, 72.9%, 48.3%, 18.8%)
CIE-LABlab(48.46, 61.84, 6.37)
CIE-LCHlch(48.46, 62.17, 5.88°)
OKLaboklab(58.03% 0.189 0.0169)
OKLCHoklch(58.03% 0.19 5.1)
XYZxyz(29.8026, 17.1593, 15.6498)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF386B #38CF9C
analogous
#CF38B7 #CF386B #CF5138
triadic
#CF386B #6BCF38 #386BCF
tetradic
#CF386B #B7CF38 #38CF9C #5138CF
square
#CF386B #B7CF38 #38CF9C #5138CF
split-complementary
#CF386B #38CF51 #38B7CF
monochromatic
#711B38 #A32751 #CF386B #DB6990 #E79BB4

Accessibility & contrast

On white

4.74
#CF386B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#CF386B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF386B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF386B#FFFFFF#000000##FFFFFF
##CF386B1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C606C
Deuteranopia (green-blind)
#847E67
Tritanopia (blue-blind)
#E1194D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cf386b;
/* rgb */ color: rgb(207, 56, 107);
/* oklch */ color: oklch(58.0% 0.190 5.1);
Tailwind
colors: {
  custom: {
    50: '#e47b95',
    500: '#cf386b',
    950: '#000000',
  },
}
SCSS
$custom: #cf386b;
$custom-light: #e47b95;
$custom-dark: #000000;
JSON
{
  "hex": "#cf386b",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 107
  },
  "hsl": {
    "h": 339.735,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5803,
    "c": 0.18974,
    "h": 5.1
  },
  "luminance": 0.17155
}

Semantic roles & 50–950 ramp

primary
#CF386B
secondary
#90D3BC
accent
#E4AE44
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CF386B

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

Preview Lab → · Contrast checker → · Palette generator →

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