#CF3874#CF3874

#CF3874 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.3% C 0.192 H 1.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CF3874
RGBrgb(207, 56, 116)
HSLhsl(336, 61%, 52%)
HSVhsv(336, 73%, 81%)
CMYKcmyk(0%, 72.9%, 44%, 18.8%)
CIE-LABlab(48.71, 62.65, 1.25)
CIE-LCHlch(48.71, 62.66, 1.14°)
OKLaboklab(58.29% 0.1921 0.0039)
OKLCHoklch(58.29% 0.192 1.2)
XYZxyz(30.3010, 17.3586, 18.2745)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3874 #38CF93
analogous
#CF38C0 #CF3874 #CF4838
triadic
#CF3874 #74CF38 #3874CF
tetradic
#CF3874 #C0CF38 #38CF93 #4838CF
square
#CF3874 #C0CF38 #38CF93 #4838CF
split-complementary
#CF3874 #38CF48 #38C0CF
monochromatic
#711B3D #A32758 #CF3874 #DB6996 #E79BB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF3874#FFFFFF#000000##FFFFFF
##CF38741.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)
#596175
Deuteranopia (green-blind)
#827E70
Tritanopia (blue-blind)
#E01F52
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cf3874;
/* rgb */ color: rgb(207, 56, 116);
/* oklch */ color: oklch(58.3% 0.192 1.2);
Tailwind
colors: {
  custom: {
    50: '#e37b9b',
    500: '#cf3874',
    950: '#000000',
  },
}
SCSS
$custom: #cf3874;
$custom-light: #e37b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3874",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 116
  },
  "hsl": {
    "h": 336.159,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58294,
    "c": 0.19215,
    "h": 1.2
  },
  "luminance": 0.17355
}

Semantic roles & 50–950 ramp

primary
#CF3874
secondary
#90D3B8
accent
#E4A444
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #CF3874

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

Preview Lab → · Contrast checker → · Palette generator →

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