#CF4286#CF4286

#CF4286 is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.8% C 0.187 H 354.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CF4286
RGBrgb(207, 66, 134)
HSLhsl(331, 59%, 54%)
HSVhsv(331, 68%, 81%)
CMYKcmyk(0%, 68.1%, 35.3%, 18.8%)
CIE-LABlab(50.55, 60.91, -6.91)
CIE-LCHlch(50.55, 61.30, 353.52°)
OKLaboklab(59.84% 0.1864 -0.0175)
OKLCHoklch(59.84% 0.187 354.6)
XYZxyz(31.9853, 18.8868, 24.5107)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4286 #42CF8B
analogous
#CF42CC #CF4286 #CF4442
triadic
#CF4286 #86CF42 #4286CF
tetradic
#CF4286 #CCCF42 #42CF8B #4442CF
square
#CF4286 #CCCF42 #42CF8B #4442CF
split-complementary
#CF4286 #42CF44 #42CCCF
monochromatic
#781F4A #A92B68 #CF4286 #DB73A5 #E8A4C4

Accessibility & contrast

On white

4.40
#CF4286 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#CF4286 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4286
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4286#FFFFFF#000000##000000
##CF42861.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6888
Deuteranopia (green-blind)
#828283
Tritanopia (blue-blind)
#DF365E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf4286;
/* rgb */ color: rgb(207, 66, 134);
/* oklch */ color: oklch(59.8% 0.187 354.6);
Tailwind
colors: {
  custom: {
    50: '#e280a9',
    500: '#cf4286',
    950: '#000000',
  },
}
SCSS
$custom: #cf4286;
$custom-light: #e280a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4286",
  "rgb": {
    "r": 207,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 331.064,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59836,
    "c": 0.18722,
    "h": 354.6
  },
  "luminance": 0.18883
}

Semantic roles & 50–950 ramp

primary
#CF4286
secondary
#98D5B7
accent
#E39745
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CF4286

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

Preview Lab → · Contrast checker → · Palette generator →

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