#CF4873#CF4873

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

Color values

HEX#CF4873
RGBrgb(207, 72, 115)
HSLhsl(341, 58%, 55%)
HSVhsv(341, 65%, 81%)
CMYKcmyk(0%, 65.2%, 44.4%, 18.8%)
CIE-LABlab(50.85, 56.56, 4.95)
CIE-LCHlch(50.85, 56.77, 5.00°)
OKLaboklab(59.87% 0.1727 0.0133)
OKLCHoklch(59.87% 0.173 4.4)
XYZxyz(31.1463, 19.1417, 18.2709)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4873 #48CFA4
analogous
#CF48B7 #CF4873 #CF6148
triadic
#CF4873 #73CF48 #4873CF
tetradic
#CF4873 #B7CF48 #48CFA4 #6148CF
square
#CF4873 #B7CF48 #48CFA4 #6148CF
split-complementary
#CF4873 #48CF61 #48B7CF
monochromatic
#7C213E #AD2D56 #CF4873 #DC7898 #E8A9BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF4873#FFFFFF#000000##000000
##CF48731.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)
#646874
Deuteranopia (green-blind)
#888370
Tritanopia (blue-blind)
#E03659
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf4873;
/* rgb */ color: rgb(207, 72, 115);
/* oklch */ color: oklch(59.9% 0.173 4.4);
Tailwind
colors: {
  custom: {
    50: '#e3839b',
    500: '#cf4873',
    950: '#000000',
  },
}
SCSS
$custom: #cf4873;
$custom-light: #e3839b;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4873",
  "rgb": {
    "r": 207,
    "g": 72,
    "b": 115
  },
  "hsl": {
    "h": 340.889,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59871,
    "c": 0.17316,
    "h": 4.4
  },
  "luminance": 0.19138
}

Semantic roles & 50–950 ramp

primary
#CF4873
secondary
#9DD6C4
accent
#E2B046
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF4873

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

Preview Lab → · Contrast checker → · Palette generator →

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