#CF386F#CF386F

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

Color values

HEX#CF386F
RGBrgb(207, 56, 111)
HSLhsl(338, 61%, 52%)
HSVhsv(338, 73%, 81%)
CMYKcmyk(0%, 72.9%, 46.4%, 18.8%)
CIE-LABlab(48.57, 62.19, 4.09)
CIE-LCHlch(48.57, 62.33, 3.76°)
OKLaboklab(58.14% 0.1904 0.0112)
OKLCHoklch(58.14% 0.191 3.4)
XYZxyz(30.0180, 17.2454, 16.7838)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF386F #38CF98
analogous
#CF38BB #CF386F #CF4D38
triadic
#CF386F #6FCF38 #386FCF
tetradic
#CF386F #BBCF38 #38CF98 #4D38CF
square
#CF386F #BBCF38 #38CF98 #4D38CF
split-complementary
#CF386F #38CF4D #38BBCF
monochromatic
#711B3B #A32754 #CF386F #DB6993 #E79BB6

Accessibility & contrast

On white

4.72
#CF386F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#CF386F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF386F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF386F#FFFFFF#000000##FFFFFF
##CF386F1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6170
Deuteranopia (green-blind)
#837E6B
Tritanopia (blue-blind)
#E11C4F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cf386f;
/* rgb */ color: rgb(207, 56, 111);
/* oklch */ color: oklch(58.1% 0.191 3.4);
Tailwind
colors: {
  custom: {
    50: '#e37b98',
    500: '#cf386f',
    950: '#000000',
  },
}
SCSS
$custom: #cf386f;
$custom-light: #e37b98;
$custom-dark: #000000;
JSON
{
  "hex": "#cf386f",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 111
  },
  "hsl": {
    "h": 338.146,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58144,
    "c": 0.19073,
    "h": 3.4
  },
  "luminance": 0.17241
}

Semantic roles & 50–950 ramp

primary
#CF386F
secondary
#90D3BA
accent
#E4AA44
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CF386F

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

Preview Lab → · Contrast checker → · Palette generator →

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