#CF396F#CF396F

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

Color values

HEX#CF396F
RGBrgb(207, 57, 111)
HSLhsl(338, 61%, 52%)
HSVhsv(338, 72%, 81%)
CMYKcmyk(0%, 72.5%, 46.4%, 18.8%)
CIE-LABlab(48.69, 61.85, 4.26)
CIE-LCHlch(48.69, 62.00, 3.94°)
OKLaboklab(58.23% 0.1893 0.0116)
OKLCHoklch(58.23% 0.19 3.5)
XYZxyz(30.0669, 17.3433, 16.8001)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF396F #39CF99
analogous
#CF39BA #CF396F #CF4E39
triadic
#CF396F #6FCF39 #396FCF
tetradic
#CF396F #BACF39 #39CF99 #4E39CF
square
#CF396F #BACF39 #39CF99 #4E39CF
split-complementary
#CF396F #39CF4E #39BACF
monochromatic
#721C3B #A32854 #CF396F #DB6A93 #E79CB7

Accessibility & contrast

On white

4.70
#CF396F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#CF396F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF396F
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF396F#FFFFFF#000000##FFFFFF
##CF396F1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6170
Deuteranopia (green-blind)
#837E6B
Tritanopia (blue-blind)
#E11D50
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cf396f;
/* rgb */ color: rgb(207, 57, 111);
/* oklch */ color: oklch(58.2% 0.190 3.5);
Tailwind
colors: {
  custom: {
    50: '#e37b98',
    500: '#cf396f',
    950: '#000000',
  },
}
SCSS
$custom: #cf396f;
$custom-light: #e37b98;
$custom-dark: #000000;
JSON
{
  "hex": "#cf396f",
  "rgb": {
    "r": 207,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 338.4,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58234,
    "c": 0.18966,
    "h": 3.5
  },
  "luminance": 0.17339
}

Semantic roles & 50–950 ramp

primary
#CF396F
secondary
#91D3BB
accent
#E4AA44
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CF396F

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

Preview Lab → · Contrast checker → · Palette generator →

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