#CF386C#CF386C

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

Color values

HEX#CF386C
RGBrgb(207, 56, 108)
HSLhsl(339, 61%, 52%)
HSVhsv(339, 73%, 81%)
CMYKcmyk(0%, 72.9%, 47.8%, 18.8%)
CIE-LABlab(48.49, 61.93, 5.80)
CIE-LCHlch(48.49, 62.20, 5.35°)
OKLaboklab(58.06% 0.1894 0.0155)
OKLCHoklch(58.06% 0.19 4.7)
XYZxyz(29.8556, 17.1804, 15.9285)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF386C #38CF9B
analogous
#CF38B8 #CF386C #CF5038
triadic
#CF386C #6CCF38 #386CCF
tetradic
#CF386C #B8CF38 #38CF9B #5038CF
square
#CF386C #B8CF38 #38CF9B #5038CF
split-complementary
#CF386C #38CF50 #38B8CF
monochromatic
#711B39 #A32752 #CF386C #DB6990 #E79BB5

Accessibility & contrast

On white

4.73
#CF386C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#CF386C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF386C
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF386C#FFFFFF#000000##FFFFFF
##CF386C1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C606D
Deuteranopia (green-blind)
#847E68
Tritanopia (blue-blind)
#E1194E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cf386c;
/* rgb */ color: rgb(207, 56, 108);
/* oklch */ color: oklch(58.1% 0.190 4.7);
Tailwind
colors: {
  custom: {
    50: '#e47b95',
    500: '#cf386c',
    950: '#000000',
  },
}
SCSS
$custom: #cf386c;
$custom-light: #e47b95;
$custom-dark: #000000;
JSON
{
  "hex": "#cf386c",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 108
  },
  "hsl": {
    "h": 339.338,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58058,
    "c": 0.18998,
    "h": 4.7
  },
  "luminance": 0.17176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF386C

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

Preview Lab → · Contrast checker → · Palette generator →

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