#CF387B#CF387B

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

Color values

HEX#CF387B
RGBrgb(207, 56, 123)
HSLhsl(333, 61%, 52%)
HSVhsv(333, 73%, 81%)
CMYKcmyk(0%, 72.9%, 40.6%, 18.8%)
CIE-LABlab(48.92, 63.33, -2.70)
CIE-LCHlch(48.92, 63.39, 357.56°)
OKLaboklab(58.52% 0.1944 -0.0063)
OKLCHoklch(58.52% 0.194 358.1)
XYZxyz(30.7236, 17.5277, 20.5003)
Luminance0.1752 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF387B #38CF8C
analogous
#CF38C7 #CF387B #CF4038
triadic
#CF387B #7BCF38 #387BCF
tetradic
#CF387B #C7CF38 #38CF8C #4038CF
square
#CF387B #C7CF38 #38CF8C #4038CF
split-complementary
#CF387B #38CF40 #38C7CF
monochromatic
#711B41 #A3275E #CF387B #DB699C #E79BBC

Accessibility & contrast

On white

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

On black

4.50
#CF387B on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CF387B#FFFFFF#000000##FFFFFF
##CF387B1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57627D
Deuteranopia (green-blind)
#817F78
Tritanopia (blue-blind)
#E02355
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cf387b;
/* rgb */ color: rgb(207, 56, 123);
/* oklch */ color: oklch(58.5% 0.194 358.1);
Tailwind
colors: {
  custom: {
    50: '#e37ba1',
    500: '#cf387b',
    950: '#000000',
  },
}
SCSS
$custom: #cf387b;
$custom-light: #e37ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf387b",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 333.377,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58517,
    "c": 0.19449,
    "h": 358.1
  },
  "luminance": 0.17524
}

Semantic roles & 50–950 ramp

primary
#CF387B
secondary
#90D3B5
accent
#E49D44
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CF387B

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

Preview Lab → · Contrast checker → · Palette generator →

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