#CF418E#CF418E

#CF418E is a mid, vivid pink. Relative luminance 0.190; OKLCH L 60.0% C 0.192 H 351.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CF418E
RGBrgb(207, 65, 142)
HSLhsl(327, 60%, 53%)
HSVhsv(327, 69%, 81%)
CMYKcmyk(0%, 68.6%, 31.4%, 18.8%)
CIE-LABlab(50.69, 62.20, -11.50)
CIE-LCHlch(50.69, 63.26, 349.52°)
OKLaboklab(60.02% 0.1898 -0.0298)
OKLCHoklch(60.02% 0.192 351.1)
XYZxyz(32.5066, 19.0026, 27.5419)
Luminance0.1900 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF418E #41CF82
analogous
#C941CF #CF418E #CF4147
triadic
#CF418E #8ECF41 #418ECF
tetradic
#CF418E #CFC941 #41CF82 #4147CF
square
#CF418E #CFC941 #41CF82 #4147CF
split-complementary
#CF418E #47CF41 #41CFC9
monochromatic
#771E4F #A82B6F #CF418E #DB72AB #E8A3C8

Accessibility & contrast

On white

4.38
#CF418E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#CF418E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF418E
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF418E#FFFFFF#000000##000000
##CF418E1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#576990
Deuteranopia (green-blind)
#7F828B
Tritanopia (blue-blind)
#DE3862
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf418e;
/* rgb */ color: rgb(207, 65, 142);
/* oklch */ color: oklch(60.0% 0.192 351.1);
Tailwind
colors: {
  custom: {
    50: '#e280af',
    500: '#cf418e',
    950: '#000000',
  },
}
SCSS
$custom: #cf418e;
$custom-light: #e280af;
$custom-dark: #000000;
JSON
{
  "hex": "#cf418e",
  "rgb": {
    "r": 207,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 327.465,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60025,
    "c": 0.19216,
    "h": 351.1
  },
  "luminance": 0.18999
}

Semantic roles & 50–950 ramp

primary
#CF418E
secondary
#97D4B3
accent
#E38D45
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CF418E

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

Preview Lab → · Contrast checker → · Palette generator →

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