#CF386A#CF386A

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

Color values

HEX#CF386A
RGBrgb(207, 56, 106)
HSLhsl(340, 61%, 52%)
HSVhsv(340, 73%, 81%)
CMYKcmyk(0%, 72.9%, 48.8%, 18.8%)
CIE-LABlab(48.43, 61.75, 6.95)
CIE-LCHlch(48.43, 62.14, 6.42°)
OKLaboklab(58% 0.1886 0.0183)
OKLCHoklch(58% 0.19 5.5)
XYZxyz(29.7503, 17.1384, 15.3743)
Luminance0.1713 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF386A #38CF9D
analogous
#CF38B6 #CF386A #CF5138
triadic
#CF386A #6ACF38 #386ACF
tetradic
#CF386A #B6CF38 #38CF9D #5138CF
square
#CF386A #B6CF38 #38CF9D #5138CF
split-complementary
#CF386A #38CF51 #38B6CF
monochromatic
#711B38 #A32750 #CF386A #DB698F #E79BB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF386A#FFFFFF#000000##FFFFFF
##CF386A1.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)
#5C606B
Deuteranopia (green-blind)
#847E66
Tritanopia (blue-blind)
#E1184D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cf386a;
/* rgb */ color: rgb(207, 56, 106);
/* oklch */ color: oklch(58.0% 0.190 5.5);
Tailwind
colors: {
  custom: {
    50: '#e47b94',
    500: '#cf386a',
    950: '#000000',
  },
}
SCSS
$custom: #cf386a;
$custom-light: #e47b94;
$custom-dark: #000000;
JSON
{
  "hex": "#cf386a",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 106
  },
  "hsl": {
    "h": 340.132,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58002,
    "c": 0.18951,
    "h": 5.5
  },
  "luminance": 0.17134
}

Semantic roles & 50–950 ramp

primary
#CF386A
secondary
#90D3BD
accent
#E4AF44
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CF386A

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

Preview Lab → · Contrast checker → · Palette generator →

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