#CF418C#CF418C

#CF418C is a mid, vivid pink. Relative luminance 0.189; OKLCH L 60.0% C 0.191 H 351.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CF418C
RGBrgb(207, 65, 140)
HSLhsl(328, 60%, 53%)
HSVhsv(328, 69%, 81%)
CMYKcmyk(0%, 68.6%, 32.4%, 18.8%)
CIE-LABlab(50.62, 61.97, -10.41)
CIE-LCHlch(50.62, 62.84, 350.46°)
OKLaboklab(59.95% 0.1893 -0.0269)
OKLCHoklch(59.95% 0.191 351.9)
XYZxyz(32.3578, 18.9431, 26.7582)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF418C #41CF84
analogous
#CB41CF #CF418C #CF4145
triadic
#CF418C #8CCF41 #418CCF
tetradic
#CF418C #CFCB41 #41CF84 #4145CF
square
#CF418C #CFCB41 #41CF84 #4145CF
split-complementary
#CF418C #45CF41 #41CFCB
monochromatic
#771E4D #A82B6D #CF418C #DB72AA #E8A3C7

Accessibility & contrast

On white

4.39
#CF418C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CF418C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF418C
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF418C#FFFFFF#000000##000000
##CF418C1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#58688E
Deuteranopia (green-blind)
#808289
Tritanopia (blue-blind)
#DE3861
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf418c;
/* rgb */ color: rgb(207, 65, 140);
/* oklch */ color: oklch(60.0% 0.191 351.9);
Tailwind
colors: {
  custom: {
    50: '#e280ad',
    500: '#cf418c',
    950: '#000000',
  },
}
SCSS
$custom: #cf418c;
$custom-light: #e280ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cf418c",
  "rgb": {
    "r": 207,
    "g": 65,
    "b": 140
  },
  "hsl": {
    "h": 328.31,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59951,
    "c": 0.19119,
    "h": 351.9
  },
  "luminance": 0.18939
}

Semantic roles & 50–950 ramp

primary
#CF418C
secondary
#97D4B4
accent
#E38F45
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CF418C

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

Preview Lab → · Contrast checker → · Palette generator →

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