#CF478E#CF478E

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

Color values

HEX#CF478E
RGBrgb(207, 71, 142)
HSLhsl(329, 59%, 55%)
HSVhsv(329, 66%, 81%)
CMYKcmyk(0%, 65.7%, 31.4%, 18.8%)
CIE-LABlab(51.53, 59.89, -10.24)
CIE-LCHlch(51.53, 60.76, 350.30°)
OKLaboklab(60.64% 0.1826 -0.0265)
OKLCHoklch(60.64% 0.185 351.8)
XYZxyz(32.8695, 19.7284, 27.6629)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF478E #47CF88
analogous
#CC47CF #CF478E #CF474A
triadic
#CF478E #8ECF47 #478ECF
tetradic
#CF478E #CFCC47 #47CF88 #474ACF
square
#CF478E #CFCC47 #47CF88 #474ACF
split-complementary
#CF478E #4ACF47 #47CFCC
monochromatic
#7B2050 #AC2D6F #CF478E #DC78AC #E8A8CA

Accessibility & contrast

On white

4.25
#CF478E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CF478E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF478E
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF478E#FFFFFF#000000##000000
##CF478E1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6B90
Deuteranopia (green-blind)
#82848B
Tritanopia (blue-blind)
#DE3F64
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf478e;
/* rgb */ color: rgb(207, 71, 142);
/* oklch */ color: oklch(60.6% 0.184 351.8);
Tailwind
colors: {
  custom: {
    50: '#e283af',
    500: '#cf478e',
    950: '#000000',
  },
}
SCSS
$custom: #cf478e;
$custom-light: #e283af;
$custom-dark: #000000;
JSON
{
  "hex": "#cf478e",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 328.676,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60642,
    "c": 0.1845,
    "h": 351.8
  },
  "luminance": 0.19725
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF478E

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

Preview Lab → · Contrast checker → · Palette generator →

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