#CF396A#CF396A

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

Color values

HEX#CF396A
RGBrgb(207, 57, 106)
HSLhsl(340, 61%, 52%)
HSVhsv(340, 72%, 81%)
CMYKcmyk(0%, 72.5%, 48.8%, 18.8%)
CIE-LABlab(48.56, 61.41, 7.12)
CIE-LCHlch(48.56, 61.82, 6.61°)
OKLaboklab(58.09% 0.1875 0.0187)
OKLCHoklch(58.09% 0.188 5.7)
XYZxyz(29.7993, 17.2363, 15.3906)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF396A #39CF9E
analogous
#CF39B5 #CF396A #CF5339
triadic
#CF396A #6ACF39 #396ACF
tetradic
#CF396A #B5CF39 #39CF9E #5339CF
square
#CF396A #B5CF39 #39CF9E #5339CF
split-complementary
#CF396A #39CF53 #39B5CF
monochromatic
#721C38 #A32850 #CF396A #DB6A8F #E79CB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF396A#FFFFFF#000000##FFFFFF
##CF396A1.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)
#5D606B
Deuteranopia (green-blind)
#847E66
Tritanopia (blue-blind)
#E11A4D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cf396a;
/* rgb */ color: rgb(207, 57, 106);
/* oklch */ color: oklch(58.1% 0.188 5.7);
Tailwind
colors: {
  custom: {
    50: '#e47b94',
    500: '#cf396a',
    950: '#000000',
  },
}
SCSS
$custom: #cf396a;
$custom-light: #e47b94;
$custom-dark: #000000;
JSON
{
  "hex": "#cf396a",
  "rgb": {
    "r": 207,
    "g": 57,
    "b": 106
  },
  "hsl": {
    "h": 340.4,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58092,
    "c": 0.18846,
    "h": 5.7
  },
  "luminance": 0.17232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF396A

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

Preview Lab → · Contrast checker → · Palette generator →

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