#CF387E#CF387E

#CF387E is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.6% C 0.196 H 356.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CF387E
RGBrgb(207, 56, 126)
HSLhsl(332, 61%, 52%)
HSVhsv(332, 73%, 81%)
CMYKcmyk(0%, 72.9%, 39.1%, 18.8%)
CIE-LABlab(49.01, 63.63, -4.38)
CIE-LCHlch(49.01, 63.78, 356.06°)
OKLaboklab(58.62% 0.1953 -0.0107)
OKLCHoklch(58.62% 0.196 356.9)
XYZxyz(30.9143, 17.6039, 21.5046)
Luminance0.1760 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF387E #38CF89
analogous
#CF38CA #CF387E #CF3D38
triadic
#CF387E #7ECF38 #387ECF
tetradic
#CF387E #CACF38 #38CF89 #3D38CF
square
#CF387E #CACF38 #38CF89 #3D38CF
split-complementary
#CF387E #38CF3D #38CACF
monochromatic
#711B43 #A32760 #CF387E #DB699E #E79BBE

Accessibility & contrast

On white

4.65
#CF387E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#CF387E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CF387E
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF387E#FFFFFF#000000##FFFFFF
##CF387E1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566280
Deuteranopia (green-blind)
#807F7B
Tritanopia (blue-blind)
#E02556
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cf387e;
/* rgb */ color: rgb(207, 56, 126);
/* oklch */ color: oklch(58.6% 0.196 356.9);
Tailwind
colors: {
  custom: {
    50: '#e37ba3',
    500: '#cf387e',
    950: '#000000',
  },
}
SCSS
$custom: #cf387e;
$custom-light: #e37ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf387e",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 332.185,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58617,
    "c": 0.19561,
    "h": 356.9
  },
  "luminance": 0.176
}

Semantic roles & 50–950 ramp

primary
#CF387E
secondary
#90D3B4
accent
#E49A44
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CF387E

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

Preview Lab → · Contrast checker → · Palette generator →

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