#CF396B#CF396B

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

Color values

HEX#CF396B
RGBrgb(207, 57, 107)
HSLhsl(340, 61%, 52%)
HSVhsv(340, 72%, 81%)
CMYKcmyk(0%, 72.5%, 48.3%, 18.8%)
CIE-LABlab(48.58, 61.50, 6.55)
CIE-LCHlch(48.58, 61.85, 6.08°)
OKLaboklab(58.12% 0.1879 0.0173)
OKLCHoklch(58.12% 0.189 5.3)
XYZxyz(29.8516, 17.2572, 15.6661)
Luminance0.1725 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF396B #39CF9D
analogous
#CF39B6 #CF396B #CF5239
triadic
#CF396B #6BCF39 #396BCF
tetradic
#CF396B #B6CF39 #39CF9D #5239CF
square
#CF396B #B6CF39 #39CF9D #5239CF
split-complementary
#CF396B #39CF52 #39B6CF
monochromatic
#721C38 #A32851 #CF396B #DB6A90 #E79CB5

Accessibility & contrast

On white

4.72
#CF396B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CF396B
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF396B#FFFFFF#000000##FFFFFF
##CF396B1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C606C
Deuteranopia (green-blind)
#847E67
Tritanopia (blue-blind)
#E11B4E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cf396b;
/* rgb */ color: rgb(207, 57, 107);
/* oklch */ color: oklch(58.1% 0.189 5.3);
Tailwind
colors: {
  custom: {
    50: '#e47b95',
    500: '#cf396b',
    950: '#000000',
  },
}
SCSS
$custom: #cf396b;
$custom-light: #e47b95;
$custom-dark: #000000;
JSON
{
  "hex": "#cf396b",
  "rgb": {
    "r": 207,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 340,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5812,
    "c": 0.18869,
    "h": 5.3
  },
  "luminance": 0.17253
}

Semantic roles & 50–950 ramp

primary
#CF396B
secondary
#91D3BD
accent
#E4AF44
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CF396B

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

Preview Lab → · Contrast checker → · Palette generator →

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