#CF4279#CF4279

#CF4279 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.4% C 0.182 H 0.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CF4279
RGBrgb(207, 66, 121)
HSLhsl(337, 59%, 54%)
HSVhsv(337, 68%, 81%)
CMYKcmyk(0%, 68.1%, 41.5%, 18.8%)
CIE-LABlab(50.15, 59.53, 0.32)
CIE-LCHlch(50.15, 59.53, 0.30°)
OKLaboklab(59.41% 0.1823 0.0015)
OKLCHoklch(59.41% 0.182 0.5)
XYZxyz(31.1337, 18.5461, 20.0257)
Luminance0.1854 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4279 #42CF98
analogous
#CF42BF #CF4279 #CF5142
triadic
#CF4279 #79CF42 #4279CF
tetradic
#CF4279 #BFCF42 #42CF98 #5142CF
square
#CF4279 #BFCF42 #42CF98 #5142CF
split-complementary
#CF4279 #42CF51 #42BFCF
monochromatic
#781F41 #A92B5C #CF4279 #DB739C #E8A4BE

Accessibility & contrast

On white

4.46
#CF4279 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#CF4279 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4279
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4279#FFFFFF#000000##000000
##CF42791.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf4279;
/* rgb */ color: rgb(207, 66, 121);
/* oklch */ color: oklch(59.4% 0.182 0.5);
Tailwind
colors: {
  custom: {
    50: '#e3809f',
    500: '#cf4279',
    950: '#000000',
  },
}
SCSS
$custom: #cf4279;
$custom-light: #e3809f;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4279",
  "rgb": {
    "r": 207,
    "g": 66,
    "b": 121
  },
  "hsl": {
    "h": 336.596,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59407,
    "c": 0.1823,
    "h": 0.5
  },
  "luminance": 0.18542
}

Semantic roles & 50–950 ramp

primary
#CF4279
secondary
#98D5BD
accent
#E3A545
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF4279

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

Preview Lab → · Contrast checker → · Palette generator →

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