#CF478C#CF478C

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

Color values

HEX#CF478C
RGBrgb(207, 71, 140)
HSLhsl(330, 59%, 55%)
HSVhsv(330, 66%, 81%)
CMYKcmyk(0%, 65.7%, 32.4%, 18.8%)
CIE-LABlab(51.46, 59.65, -9.15)
CIE-LCHlch(51.46, 60.35, 351.28°)
OKLaboklab(60.57% 0.182 -0.0235)
OKLCHoklch(60.57% 0.184 352.6)
XYZxyz(32.7207, 19.6689, 26.8792)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF478C #47CF8A
analogous
#CE47CF #CF478C #CF4748
triadic
#CF478C #8CCF47 #478CCF
tetradic
#CF478C #CFCE47 #47CF8A #4748CF
square
#CF478C #CFCE47 #47CF8A #4748CF
split-complementary
#CF478C #48CF47 #47CFCE
monochromatic
#7B204E #AC2D6D #CF478C #DC78AA #E8A8C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF478C#FFFFFF#000000##000000
##CF478C1.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)
#5C6B8E
Deuteranopia (green-blind)
#828489
Tritanopia (blue-blind)
#DE3E64
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf478c;
/* rgb */ color: rgb(207, 71, 140);
/* oklch */ color: oklch(60.6% 0.184 352.6);
Tailwind
colors: {
  custom: {
    50: '#e283ad',
    500: '#cf478c',
    950: '#000000',
  },
}
SCSS
$custom: #cf478c;
$custom-light: #e283ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cf478c",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 329.559,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60569,
    "c": 0.18353,
    "h": 352.6
  },
  "luminance": 0.19665
}

Semantic roles & 50–950 ramp

primary
#CF478C
secondary
#9CD6B8
accent
#E29346
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CF478C

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

Preview Lab → · Contrast checker → · Palette generator →

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