#CF387A#CF387A

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

Color values

HEX#CF387A
RGBrgb(207, 56, 122)
HSLhsl(334, 61%, 52%)
HSVhsv(334, 73%, 81%)
CMYKcmyk(0%, 72.9%, 41.1%, 18.8%)
CIE-LABlab(48.89, 63.23, -2.14)
CIE-LCHlch(48.89, 63.27, 358.06°)
OKLaboklab(58.48% 0.1941 -0.0048)
OKLCHoklch(58.48% 0.194 358.6)
XYZxyz(30.6614, 17.5028, 20.1723)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF387A #38CF8D
analogous
#CF38C6 #CF387A #CF4238
triadic
#CF387A #7ACF38 #387ACF
tetradic
#CF387A #C6CF38 #38CF8D #4238CF
square
#CF387A #C6CF38 #38CF8D #4238CF
split-complementary
#CF387A #38CF42 #38C6CF
monochromatic
#711B41 #A3275D #CF387A #DB699B #E79BBC

Accessibility & contrast

On white

4.67
#CF387A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CF387A
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF387A#FFFFFF#000000##FFFFFF
##CF387A1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58627C
Deuteranopia (green-blind)
#817F77
Tritanopia (blue-blind)
#E02354
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cf387a;
/* rgb */ color: rgb(207, 56, 122);
/* oklch */ color: oklch(58.5% 0.194 358.6);
Tailwind
colors: {
  custom: {
    50: '#e37ba0',
    500: '#cf387a',
    950: '#000000',
  },
}
SCSS
$custom: #cf387a;
$custom-light: #e37ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf387a",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 122
  },
  "hsl": {
    "h": 333.775,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58484,
    "c": 0.19413,
    "h": 358.6
  },
  "luminance": 0.17499
}

Semantic roles & 50–950 ramp

primary
#CF387A
secondary
#90D3B6
accent
#E49E44
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CF387A

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

Preview Lab → · Contrast checker → · Palette generator →

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