#CF4097#CF4097

#CF4097 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 60.3% C 0.198 H 347.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CF4097
RGBrgb(207, 64, 151)
HSLhsl(323, 60%, 53%)
HSVhsv(323, 69%, 81%)
CMYKcmyk(0%, 69.1%, 27.1%, 18.8%)
CIE-LABlab(50.89, 63.66, -16.57)
CIE-LCHlch(50.89, 65.78, 345.41°)
OKLaboklab(60.28% 0.1932 -0.0437)
OKLCHoklch(60.28% 0.198 347.3)
XYZxyz(33.1529, 19.1701, 31.2264)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4097 #40CF78
analogous
#C040CF #CF4097 #CF404F
triadic
#CF4097 #97CF40 #4097CF
tetradic
#CF4097 #CFC040 #40CF78 #404FCF
square
#CF4097 #CFC040 #40CF78 #404FCF
split-complementary
#CF4097 #4FCF40 #40CFC0
monochromatic
#771E54 #A82A77 #CF4097 #DB71B2 #E8A2CC

Accessibility & contrast

On white

4.34
#CF4097 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CF4097 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4097
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4097#FFFFFF#000000##000000
##CF40971.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#536999
Deuteranopia (green-blind)
#7C8294
Tritanopia (blue-blind)
#DD3C66
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf4097;
/* rgb */ color: rgb(207, 64, 151);
/* oklch */ color: oklch(60.3% 0.198 347.3);
Tailwind
colors: {
  custom: {
    50: '#e280b5',
    500: '#cf4097',
    950: '#000000',
  },
}
SCSS
$custom: #cf4097;
$custom-light: #e280b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4097",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 323.497,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60275,
    "c": 0.19809,
    "h": 347.3
  },
  "luminance": 0.19167
}

Semantic roles & 50–950 ramp

primary
#CF4097
secondary
#97D4AF
accent
#E38345
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CF4097

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

Preview Lab → · Contrast checker → · Palette generator →

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