#CF4285#CF4285

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

Color values

HEX#CF4285
RGBrgb(207, 66, 133)
HSLhsl(331, 59%, 54%)
HSVhsv(331, 68%, 81%)
CMYKcmyk(0%, 68.1%, 35.7%, 18.8%)
CIE-LABlab(50.52, 60.80, -6.36)
CIE-LCHlch(50.52, 61.13, 354.02°)
OKLaboklab(59.8% 0.1861 -0.016)
OKLCHoklch(59.8% 0.187 355.1)
XYZxyz(31.9159, 18.8590, 24.1452)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4285 #42CF8C
analogous
#CF42CC #CF4285 #CF4542
triadic
#CF4285 #85CF42 #4285CF
tetradic
#CF4285 #CCCF42 #42CF8C #4542CF
square
#CF4285 #CCCF42 #42CF8C #4542CF
split-complementary
#CF4285 #42CF45 #42CCCF
monochromatic
#781F49 #A92B67 #CF4285 #DB73A5 #E8A4C4

Accessibility & contrast

On white

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

On black

4.77
#CF4285 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4285
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4285#FFFFFF#000000##000000
##CF42851.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf4285;
/* rgb */ color: rgb(207, 66, 133);
/* oklch */ color: oklch(59.8% 0.187 355.1);
Tailwind
colors: {
  custom: {
    50: '#e280a8',
    500: '#cf4285',
    950: '#000000',
  },
}
SCSS
$custom: #cf4285;
$custom-light: #e280a8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4285",
  "rgb": {
    "r": 207,
    "g": 66,
    "b": 133
  },
  "hsl": {
    "h": 331.489,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59801,
    "c": 0.18679,
    "h": 355.1
  },
  "luminance": 0.18855
}

Semantic roles & 50–950 ramp

primary
#CF4285
secondary
#98D5B8
accent
#E39845
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CF4285

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

Preview Lab → · Contrast checker → · Palette generator →

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