#CF5478#CF5478

#CF5478 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.4% C 0.159 H 4.8°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#CF5478
RGBrgb(207, 84, 120)
HSLhsl(342, 56%, 57%)
HSVhsv(342, 59%, 81%)
CMYKcmyk(0%, 59.4%, 42%, 18.8%)
CIE-LABlab(52.91, 51.87, 4.91)
CIE-LCHlch(52.91, 52.10, 5.41°)
OKLaboklab(61.45% 0.158 0.0133)
OKLCHoklch(61.45% 0.159 4.8)
XYZxyz(32.2947, 20.9658, 20.1117)
Luminance0.2096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5478 #54CFAB
analogous
#CF54B6 #CF5478 #CF6E54
triadic
#CF5478 #78CF54 #5478CF
tetradic
#CF5478 #B6CF54 #54CFAB #6E54CF
square
#CF5478 #B6CF54 #54CFAB #6E54CF
split-complementary
#CF5478 #54CF6E #54B6CF
monochromatic
#842541 #B33258 #CF5478 #DC849E #EAB4C3

Accessibility & contrast

On white

4.04
#CF5478 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#CF5478 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5478
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5478#FFFFFF#000000##000000
##CF54781.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C6F79
Deuteranopia (green-blind)
#8C8775
Tritanopia (blue-blind)
#E04662
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf5478;
/* rgb */ color: rgb(207, 84, 120);
/* oklch */ color: oklch(61.4% 0.159 4.8);
Tailwind
colors: {
  custom: {
    50: '#e2899e',
    500: '#cf5478',
    950: '#000000',
  },
}
SCSS
$custom: #cf5478;
$custom-light: #e2899e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5478",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 120
  },
  "hsl": {
    "h": 342.439,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61449,
    "c": 0.15859,
    "h": 4.8
  },
  "luminance": 0.20962
}

Semantic roles & 50–950 ramp

primary
#CF5478
secondary
#A6D8CA
accent
#DFB348
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CF5478

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

Preview Lab → · Contrast checker → · Palette generator →

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