#CF4798#CF4798

#CF4798 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 61.0% C 0.190 H 347.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CF4798
RGBrgb(207, 71, 152)
HSLhsl(324, 59%, 55%)
HSVhsv(324, 66%, 81%)
CMYKcmyk(0%, 65.7%, 26.6%, 18.8%)
CIE-LABlab(51.88, 61.12, -15.65)
CIE-LCHlch(51.88, 63.09, 345.64°)
OKLaboklab(61.02% 0.1852 -0.0412)
OKLCHoklch(61.02% 0.19 347.5)
XYZxyz(33.6543, 20.0423, 31.7959)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4798 #47CF7E
analogous
#C247CF #CF4798 #CF4754
triadic
#CF4798 #98CF47 #4798CF
tetradic
#CF4798 #CFC247 #47CF7E #4754CF
square
#CF4798 #CFC247 #47CF7E #4754CF
split-complementary
#CF4798 #54CF47 #47CFC2
monochromatic
#7B2057 #AC2D79 #CF4798 #DC78B3 #E8A8CE

Accessibility & contrast

On white

4.19
#CF4798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CF4798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4798
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4798#FFFFFF#000000##000000
##CF47981.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#586D9A
Deuteranopia (green-blind)
#7F8495
Tritanopia (blue-blind)
#DD4369
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4798;
/* rgb */ color: rgb(207, 71, 152);
/* oklch */ color: oklch(61.0% 0.190 347.5);
Tailwind
colors: {
  custom: {
    50: '#e283b6',
    500: '#cf4798',
    950: '#000000',
  },
}
SCSS
$custom: #cf4798;
$custom-light: #e283b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4798",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 152
  },
  "hsl": {
    "h": 324.265,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61021,
    "c": 0.18973,
    "h": 347.5
  },
  "luminance": 0.20039
}

Semantic roles & 50–950 ramp

primary
#CF4798
secondary
#9CD6B3
accent
#E28546
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CF4798

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

Preview Lab → · Contrast checker → · Palette generator →

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