#CF5278#CF5278

#CF5278 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.2% C 0.161 H 4.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#CF5278
RGBrgb(207, 82, 120)
HSLhsl(342, 57%, 57%)
HSVhsv(342, 60%, 81%)
CMYKcmyk(0%, 60.4%, 42%, 18.8%)
CIE-LABlab(52.58, 52.77, 4.43)
CIE-LCHlch(52.58, 52.95, 4.80°)
OKLaboklab(61.2% 0.1609 0.012)
OKLCHoklch(61.2% 0.161 4.3)
XYZxyz(32.1417, 20.6597, 20.0607)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5278 #52CFA9
analogous
#CF52B7 #CF5278 #CF6B52
triadic
#CF5278 #78CF52 #5278CF
tetradic
#CF5278 #B7CF52 #52CFA9 #6B52CF
square
#CF5278 #B7CF52 #52CFA9 #6B52CF
split-complementary
#CF5278 #52CF6B #52B7CF
monochromatic
#822441 #B23159 #CF5278 #DC829D #EAB2C3

Accessibility & contrast

On white

4.09
#CF5278 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#CF5278 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5278
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5278#FFFFFF#000000##000000
##CF52781.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A6E79
Deuteranopia (green-blind)
#8B8775
Tritanopia (blue-blind)
#E04461
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf5278;
/* rgb */ color: rgb(207, 82, 120);
/* oklch */ color: oklch(61.2% 0.161 4.3);
Tailwind
colors: {
  custom: {
    50: '#e2889e',
    500: '#cf5278',
    950: '#000000',
  },
}
SCSS
$custom: #cf5278;
$custom-light: #e2889e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5278",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 120
  },
  "hsl": {
    "h": 341.76,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61198,
    "c": 0.16133,
    "h": 4.3
  },
  "luminance": 0.20656
}

Semantic roles & 50–950 ramp

primary
#CF5278
secondary
#A5D8C8
accent
#E0B248
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CF5278

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

Preview Lab → · Contrast checker → · Palette generator →

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