#CF396D#CF396D

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

Color values

HEX#CF396D
RGBrgb(207, 57, 109)
HSLhsl(339, 61%, 52%)
HSVhsv(339, 72%, 81%)
CMYKcmyk(0%, 72.5%, 47.3%, 18.8%)
CIE-LABlab(48.64, 61.67, 5.40)
CIE-LCHlch(48.64, 61.91, 5.01°)
OKLaboklab(58.18% 0.1886 0.0145)
OKLCHoklch(58.18% 0.189 4.4)
XYZxyz(29.9580, 17.2998, 16.2267)
Luminance0.1730 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF396D #39CF9B
analogous
#CF39B8 #CF396D #CF5039
triadic
#CF396D #6DCF39 #396DCF
tetradic
#CF396D #B8CF39 #39CF9B #5039CF
square
#CF396D #B8CF39 #39CF9B #5039CF
split-complementary
#CF396D #39CF50 #39B8CF
monochromatic
#721C3A #A32852 #CF396D #DB6A91 #E79CB6

Accessibility & contrast

On white

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

On black

4.46
#CF396D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CF396D#FFFFFF#000000##FFFFFF
##CF396D1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C616E
Deuteranopia (green-blind)
#847E69
Tritanopia (blue-blind)
#E11C4F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cf396d;
/* rgb */ color: rgb(207, 57, 109);
/* oklch */ color: oklch(58.2% 0.189 4.4);
Tailwind
colors: {
  custom: {
    50: '#e47b96',
    500: '#cf396d',
    950: '#000000',
  },
}
SCSS
$custom: #cf396d;
$custom-light: #e47b96;
$custom-dark: #000000;
JSON
{
  "hex": "#cf396d",
  "rgb": {
    "r": 207,
    "g": 57,
    "b": 109
  },
  "hsl": {
    "h": 339.2,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58176,
    "c": 0.18916,
    "h": 4.4
  },
  "luminance": 0.17296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF396D

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

Preview Lab → · Contrast checker → · Palette generator →

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