#CF396C#CF396C

#CF396C is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.1% C 0.189 H 4.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CF396C
RGBrgb(207, 57, 108)
HSLhsl(340, 61%, 52%)
HSVhsv(340, 72%, 81%)
CMYKcmyk(0%, 72.5%, 47.8%, 18.8%)
CIE-LABlab(48.61, 61.58, 5.98)
CIE-LCHlch(48.61, 61.87, 5.54°)
OKLaboklab(58.15% 0.1883 0.0159)
OKLCHoklch(58.15% 0.189 4.8)
XYZxyz(29.9045, 17.2783, 15.9448)
Luminance0.1727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF396C #39CF9C
analogous
#CF39B7 #CF396C #CF5139
triadic
#CF396C #6CCF39 #396CCF
tetradic
#CF396C #B7CF39 #39CF9C #5139CF
square
#CF396C #B7CF39 #39CF9C #5139CF
split-complementary
#CF396C #39CF51 #39B7CF
monochromatic
#721C39 #A32852 #CF396C #DB6A91 #E79CB5

Accessibility & contrast

On white

4.71
#CF396C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CF396C
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF396C#FFFFFF#000000##FFFFFF
##CF396C1.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C616D
Deuteranopia (green-blind)
#847E68
Tritanopia (blue-blind)
#E11C4E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cf396c;
/* rgb */ color: rgb(207, 57, 108);
/* oklch */ color: oklch(58.1% 0.189 4.8);
Tailwind
colors: {
  custom: {
    50: '#e47b95',
    500: '#cf396c',
    950: '#000000',
  },
}
SCSS
$custom: #cf396c;
$custom-light: #e47b95;
$custom-dark: #000000;
JSON
{
  "hex": "#cf396c",
  "rgb": {
    "r": 207,
    "g": 57,
    "b": 108
  },
  "hsl": {
    "h": 339.6,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58148,
    "c": 0.18892,
    "h": 4.8
  },
  "luminance": 0.17274
}

Semantic roles & 50–950 ramp

primary
#CF396C
secondary
#91D3BC
accent
#E4AE44
background
#FEF8F9
surface
#FDEFF1
border
#D5CACB
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CF396C

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

Preview Lab → · Contrast checker → · Palette generator →

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