#CF4874#CF4874

#CF4874 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 59.9% C 0.173 H 3.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CF4874
RGBrgb(207, 72, 116)
HSLhsl(340, 58%, 55%)
HSVhsv(340, 65%, 81%)
CMYKcmyk(0%, 65.2%, 44%, 18.8%)
CIE-LABlab(50.88, 56.65, 4.39)
CIE-LCHlch(50.88, 56.82, 4.43°)
OKLaboklab(59.9% 0.173 0.0119)
OKLCHoklch(59.9% 0.173 3.9)
XYZxyz(31.2041, 19.1649, 18.5756)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4874 #48CFA3
analogous
#CF48B8 #CF4874 #CF5F48
triadic
#CF4874 #74CF48 #4874CF
tetradic
#CF4874 #B8CF48 #48CFA3 #5F48CF
square
#CF4874 #B8CF48 #48CFA3 #5F48CF
split-complementary
#CF4874 #48CF5F #48B8CF
monochromatic
#7C213E #AD2D57 #CF4874 #DC7899 #E8A9BE

Accessibility & contrast

On white

4.35
#CF4874 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CF4874 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4874
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4874#FFFFFF#000000##000000
##CF48741.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#646875
Deuteranopia (green-blind)
#888371
Tritanopia (blue-blind)
#E03659
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf4874;
/* rgb */ color: rgb(207, 72, 116);
/* oklch */ color: oklch(59.9% 0.173 3.9);
Tailwind
colors: {
  custom: {
    50: '#e3839b',
    500: '#cf4874',
    950: '#000000',
  },
}
SCSS
$custom: #cf4874;
$custom-light: #e3839b;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4874",
  "rgb": {
    "r": 207,
    "g": 72,
    "b": 116
  },
  "hsl": {
    "h": 340.444,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.599,
    "c": 0.17342,
    "h": 3.9
  },
  "luminance": 0.19161
}

Semantic roles & 50–950 ramp

primary
#CF4874
secondary
#9DD6C3
accent
#E2AF46
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF4874

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

Preview Lab → · Contrast checker → · Palette generator →

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