#CF4278#CF4278

#CF4278 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.4% C 0.182 H 0.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CF4278
RGBrgb(207, 66, 120)
HSLhsl(337, 59%, 54%)
HSVhsv(337, 68%, 81%)
CMYKcmyk(0%, 68.1%, 42%, 18.8%)
CIE-LABlab(50.12, 59.43, 0.88)
CIE-LCHlch(50.12, 59.44, 0.85°)
OKLaboklab(59.38% 0.182 0.003)
OKLCHoklch(59.38% 0.182 0.9)
XYZxyz(31.0727, 18.5217, 19.7044)
Luminance0.1852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4278 #42CF99
analogous
#CF42BF #CF4278 #CF5242
triadic
#CF4278 #78CF42 #4278CF
tetradic
#CF4278 #BFCF42 #42CF99 #5242CF
square
#CF4278 #BFCF42 #42CF99 #5242CF
split-complementary
#CF4278 #42CF52 #42BFCF
monochromatic
#781F41 #A92B5B #CF4278 #DB739B #E8A4BE

Accessibility & contrast

On white

4.46
#CF4278 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#CF4278 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4278
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4278#FFFFFF#000000##000000
##CF42781.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6679
Deuteranopia (green-blind)
#858175
Tritanopia (blue-blind)
#E03058
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf4278;
/* rgb */ color: rgb(207, 66, 120);
/* oklch */ color: oklch(59.4% 0.182 0.9);
Tailwind
colors: {
  custom: {
    50: '#e3809e',
    500: '#cf4278',
    950: '#000000',
  },
}
SCSS
$custom: #cf4278;
$custom-light: #e3809e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4278",
  "rgb": {
    "r": 207,
    "g": 66,
    "b": 120
  },
  "hsl": {
    "h": 337.021,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59376,
    "c": 0.18198,
    "h": 0.9
  },
  "luminance": 0.18518
}

Semantic roles & 50–950 ramp

primary
#CF4278
secondary
#98D5BD
accent
#E3A645
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF4278

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

Preview Lab → · Contrast checker → · Palette generator →

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