#CF5074#CF5074

#CF5074 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.8% C 0.163 H 5.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CF5074
RGBrgb(207, 80, 116)
HSLhsl(343, 57%, 56%)
HSVhsv(343, 61%, 81%)
CMYKcmyk(0%, 61.4%, 44%, 18.8%)
CIE-LABlab(52.14, 53.25, 6.19)
CIE-LCHlch(52.14, 53.61, 6.63°)
OKLaboklab(60.84% 0.1622 0.0165)
OKLCHoklch(60.84% 0.163 5.8)
XYZxyz(31.7554, 20.2674, 18.7593)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5074 #50CFAB
analogous
#CF50B4 #CF5074 #CF6C50
triadic
#CF5074 #74CF50 #5074CF
tetradic
#CF5074 #B4CF50 #50CFAB #6C50CF
square
#CF5074 #B4CF50 #50CFAB #6C50CF
split-complementary
#CF5074 #50CF6C #50B4CF
monochromatic
#81233E #B13155 #CF5074 #DC809A #E9B0C0

Accessibility & contrast

On white

4.16
#CF5074 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CF5074 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5074
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5074#FFFFFF#000000##000000
##CF50741.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A6D75
Deuteranopia (green-blind)
#8B8671
Tritanopia (blue-blind)
#E0405E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf5074;
/* rgb */ color: rgb(207, 80, 116);
/* oklch */ color: oklch(60.8% 0.163 5.8);
Tailwind
colors: {
  custom: {
    50: '#e2879b',
    500: '#cf5074',
    950: '#000000',
  },
}
SCSS
$custom: #cf5074;
$custom-light: #e2879b;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5074",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 116
  },
  "hsl": {
    "h": 342.992,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60837,
    "c": 0.16306,
    "h": 5.8
  },
  "luminance": 0.20264
}

Semantic roles & 50–950 ramp

primary
#CF5074
secondary
#A3D8C9
accent
#E0B548
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CF5074

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

Preview Lab → · Contrast checker → · Palette generator →

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