#CF4079#CF4079

#CF4079 is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.2% C 0.185 H 0.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CF4079
RGBrgb(207, 64, 121)
HSLhsl(336, 60%, 53%)
HSVhsv(336, 69%, 81%)
CMYKcmyk(0%, 69.1%, 41.5%, 18.8%)
CIE-LABlab(49.88, 60.29, -0.08)
CIE-LCHlch(49.88, 60.29, 359.92°)
OKLaboklab(59.2% 0.1847 0.0005)
OKLCHoklch(59.2% 0.185 0.2)
XYZxyz(31.0189, 18.3165, 19.9874)
Luminance0.1831 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4079 #40CF96
analogous
#CF40C0 #CF4079 #CF4E40
triadic
#CF4079 #79CF40 #4079CF
tetradic
#CF4079 #C0CF40 #40CF96 #4E40CF
square
#CF4079 #C0CF40 #40CF96 #4E40CF
split-complementary
#CF4079 #40CF4E #40C0CF
monochromatic
#771E41 #A82A5C #CF4079 #DB719B #E8A2BE

Accessibility & contrast

On white

4.50
#CF4079 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#CF4079 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4079
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4079#FFFFFF#000000##000000
##CF40791.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D657A
Deuteranopia (green-blind)
#848176
Tritanopia (blue-blind)
#E02E58
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf4079;
/* rgb */ color: rgb(207, 64, 121);
/* oklch */ color: oklch(59.2% 0.185 0.2);
Tailwind
colors: {
  custom: {
    50: '#e37f9f',
    500: '#cf4079',
    950: '#000000',
  },
}
SCSS
$custom: #cf4079;
$custom-light: #e37f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4079",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 121
  },
  "hsl": {
    "h": 336.084,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59204,
    "c": 0.1847,
    "h": 0.2
  },
  "luminance": 0.18313
}

Semantic roles & 50–950 ramp

primary
#CF4079
secondary
#97D4BC
accent
#E3A445
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF4079

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

Preview Lab → · Contrast checker → · Palette generator →

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