#CF386D#CF386D

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

Color values

HEX#CF386D
RGBrgb(207, 56, 109)
HSLhsl(339, 61%, 52%)
HSVhsv(339, 73%, 81%)
CMYKcmyk(0%, 72.9%, 47.3%, 18.8%)
CIE-LABlab(48.51, 62.01, 5.23)
CIE-LCHlch(48.51, 62.23, 4.82°)
OKLaboklab(58.09% 0.1897 0.014)
OKLCHoklch(58.09% 0.19 4.2)
XYZxyz(29.9091, 17.2018, 16.2104)
Luminance0.1720 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF386D #38CF9A
analogous
#CF38B9 #CF386D #CF4F38
triadic
#CF386D #6DCF38 #386DCF
tetradic
#CF386D #B9CF38 #38CF9A #4F38CF
square
#CF386D #B9CF38 #38CF9A #4F38CF
split-complementary
#CF386D #38CF4F #38B9CF
monochromatic
#711B39 #A32753 #CF386D #DB6991 #E79BB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF386D#FFFFFF#000000##FFFFFF
##CF386D1.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)
#5B606E
Deuteranopia (green-blind)
#837E69
Tritanopia (blue-blind)
#E11A4E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cf386d;
/* rgb */ color: rgb(207, 56, 109);
/* oklch */ color: oklch(58.1% 0.190 4.2);
Tailwind
colors: {
  custom: {
    50: '#e47b96',
    500: '#cf386d',
    950: '#000000',
  },
}
SCSS
$custom: #cf386d;
$custom-light: #e47b96;
$custom-dark: #000000;
JSON
{
  "hex": "#cf386d",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 109
  },
  "hsl": {
    "h": 338.94,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58086,
    "c": 0.19022,
    "h": 4.2
  },
  "luminance": 0.17198
}

Semantic roles & 50–950 ramp

primary
#CF386D
secondary
#90D3BB
accent
#E4AC44
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CF386D

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

Preview Lab → · Contrast checker → · Palette generator →

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