#CF387C#CF387C

#CF387C is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.6% C 0.195 H 357.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CF387C
RGBrgb(207, 56, 124)
HSLhsl(333, 61%, 52%)
HSVhsv(333, 73%, 81%)
CMYKcmyk(0%, 72.9%, 40.1%, 18.8%)
CIE-LABlab(48.95, 63.43, -3.26)
CIE-LCHlch(48.95, 63.51, 357.06°)
OKLaboklab(58.55% 0.1947 -0.0078)
OKLCHoklch(58.55% 0.195 357.7)
XYZxyz(30.7866, 17.5528, 20.8317)
Luminance0.1755 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF387C #38CF8B
analogous
#CF38C8 #CF387C #CF4038
triadic
#CF387C #7CCF38 #387CCF
tetradic
#CF387C #C8CF38 #38CF8B #4038CF
square
#CF387C #C8CF38 #38CF8B #4038CF
split-complementary
#CF387C #38CF40 #38C8CF
monochromatic
#711B42 #A3275F #CF387C #DB699C #E79BBD

Accessibility & contrast

On white

4.66
#CF387C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#CF387C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CF387C
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF387C#FFFFFF#000000##FFFFFF
##CF387C1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57627E
Deuteranopia (green-blind)
#807F79
Tritanopia (blue-blind)
#E02455
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cf387c;
/* rgb */ color: rgb(207, 56, 124);
/* oklch */ color: oklch(58.6% 0.195 357.7);
Tailwind
colors: {
  custom: {
    50: '#e37ba1',
    500: '#cf387c',
    950: '#000000',
  },
}
SCSS
$custom: #cf387c;
$custom-light: #e37ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf387c",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 124
  },
  "hsl": {
    "h": 332.98,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5855,
    "c": 0.19485,
    "h": 357.7
  },
  "luminance": 0.17549
}

Semantic roles & 50–950 ramp

primary
#CF387C
secondary
#90D3B5
accent
#E49C44
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CF387C

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

Preview Lab → · Contrast checker → · Palette generator →

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