#CF397A#CF397A

#CF397A is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.6% C 0.193 H 358.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CF397A
RGBrgb(207, 57, 122)
HSLhsl(334, 61%, 52%)
HSVhsv(334, 72%, 81%)
CMYKcmyk(0%, 72.5%, 41.1%, 18.8%)
CIE-LABlab(49.01, 62.89, -1.96)
CIE-LCHlch(49.01, 62.92, 358.21°)
OKLaboklab(58.57% 0.193 -0.0044)
OKLCHoklch(58.57% 0.193 358.7)
XYZxyz(30.7103, 17.6007, 20.1886)
Luminance0.1760 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF397A #39CF8E
analogous
#CF39C5 #CF397A #CF4339
triadic
#CF397A #7ACF39 #397ACF
tetradic
#CF397A #C5CF39 #39CF8E #4339CF
square
#CF397A #C5CF39 #39CF8E #4339CF
split-complementary
#CF397A #39CF43 #39C5CF
monochromatic
#721C41 #A3285D #CF397A #DB6A9B #E79CBC

Accessibility & contrast

On white

4.65
#CF397A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#CF397A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CF397A
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF397A#FFFFFF#000000##FFFFFF
##CF397A1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58627C
Deuteranopia (green-blind)
#817F77
Tritanopia (blue-blind)
#E02455
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cf397a;
/* rgb */ color: rgb(207, 57, 122);
/* oklch */ color: oklch(58.6% 0.193 358.7);
Tailwind
colors: {
  custom: {
    50: '#e37ca0',
    500: '#cf397a',
    950: '#000000',
  },
}
SCSS
$custom: #cf397a;
$custom-light: #e37ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf397a",
  "rgb": {
    "r": 207,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 334,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58573,
    "c": 0.19304,
    "h": 358.7
  },
  "luminance": 0.17597
}

Semantic roles & 50–950 ramp

primary
#CF397A
secondary
#91D3B6
accent
#E49F44
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CF397A

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

Preview Lab → · Contrast checker → · Palette generator →

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