#CF4B78#CF4B78

#CF4B78 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.4% C 0.171 H 2.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CF4B78
RGBrgb(207, 75, 120)
HSLhsl(340, 58%, 55%)
HSVhsv(340, 64%, 81%)
CMYKcmyk(0%, 63.8%, 42%, 18.8%)
CIE-LABlab(51.45, 55.81, 2.80)
CIE-LCHlch(51.45, 55.88, 2.87°)
OKLaboklab(60.36% 0.1705 0.0079)
OKLCHoklch(60.36% 0.171 2.6)
XYZxyz(31.6405, 19.6574, 19.8937)
Luminance0.1965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4B78 #4BCFA2
analogous
#CF4BBA #CF4B78 #CF604B
triadic
#CF4B78 #78CF4B #4B78CF
tetradic
#CF4B78 #BACF4B #4BCFA2 #604BCF
square
#CF4B78 #BACF4B #4BCFA2 #604BCF
split-complementary
#CF4B78 #4BCF60 #4BBACF
monochromatic
#7E2241 #AE2E5A #CF4B78 #DC7B9C #E9ACC0

Accessibility & contrast

On white

4.26
#CF4B78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CF4B78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4B78
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4B78#FFFFFF#000000##000000
##CF4B781.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#656A79
Deuteranopia (green-blind)
#888475
Tritanopia (blue-blind)
#E03B5D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf4b78;
/* rgb */ color: rgb(207, 75, 120);
/* oklch */ color: oklch(60.4% 0.171 2.6);
Tailwind
colors: {
  custom: {
    50: '#e2849e',
    500: '#cf4b78',
    950: '#000000',
  },
}
SCSS
$custom: #cf4b78;
$custom-light: #e2849e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4b78",
  "rgb": {
    "r": 207,
    "g": 75,
    "b": 120
  },
  "hsl": {
    "h": 339.545,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60358,
    "c": 0.17065,
    "h": 2.6
  },
  "luminance": 0.19654
}

Semantic roles & 50–950 ramp

primary
#CF4B78
secondary
#9FD6C4
accent
#E1AC47
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF4B78

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

Preview Lab → · Contrast checker → · Palette generator →

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