#CF4084#CF4084

#CF4084 is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.6% C 0.189 H 355.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CF4084
RGBrgb(207, 64, 132)
HSLhsl(331, 60%, 53%)
HSVhsv(331, 69%, 81%)
CMYKcmyk(0%, 69.1%, 36.2%, 18.8%)
CIE-LABlab(50.22, 61.44, -6.21)
CIE-LCHlch(50.22, 61.75, 354.22°)
OKLaboklab(59.57% 0.1882 -0.0156)
OKLCHoklch(59.57% 0.189 355.3)
XYZxyz(31.7323, 18.6019, 23.7448)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4084 #40CF8B
analogous
#CF40CB #CF4084 #CF4340
triadic
#CF4084 #84CF40 #4084CF
tetradic
#CF4084 #CBCF40 #40CF8B #4340CF
square
#CF4084 #CBCF40 #40CF8B #4340CF
split-complementary
#CF4084 #40CF43 #40CBCF
monochromatic
#771E48 #A82A66 #CF4084 #DB71A3 #E8A2C3

Accessibility & contrast

On white

4.45
#CF4084 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#CF4084 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4084
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4084#FFFFFF#000000##000000
##CF40841.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6786
Deuteranopia (green-blind)
#818181
Tritanopia (blue-blind)
#DF335D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf4084;
/* rgb */ color: rgb(207, 64, 132);
/* oklch */ color: oklch(59.6% 0.189 355.3);
Tailwind
colors: {
  custom: {
    50: '#e27fa7',
    500: '#cf4084',
    950: '#000000',
  },
}
SCSS
$custom: #cf4084;
$custom-light: #e27fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4084",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 132
  },
  "hsl": {
    "h": 331.469,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59567,
    "c": 0.18882,
    "h": 355.3
  },
  "luminance": 0.18598
}

Semantic roles & 50–950 ramp

primary
#CF4084
secondary
#97D4B7
accent
#E39845
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CF4084

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

Preview Lab → · Contrast checker → · Palette generator →

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