#CF4298#CF4298

#CF4298 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.5% C 0.196 H 347.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CF4298
RGBrgb(207, 66, 152)
HSLhsl(323, 59%, 54%)
HSVhsv(323, 68%, 81%)
CMYKcmyk(0%, 68.1%, 26.6%, 18.8%)
CIE-LABlab(51.19, 63.05, -16.70)
CIE-LCHlch(51.19, 65.22, 345.16°)
OKLaboklab(60.51% 0.1911 -0.0441)
OKLCHoklch(60.51% 0.196 347)
XYZxyz(33.3493, 19.4323, 31.6942)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4298 #42CF79
analogous
#BF42CF #CF4298 #CF4251
triadic
#CF4298 #98CF42 #4298CF
tetradic
#CF4298 #CFBF42 #42CF79 #4251CF
square
#CF4298 #CFBF42 #42CF79 #4251CF
split-complementary
#CF4298 #51CF42 #42CFBF
monochromatic
#781F55 #A92B78 #CF4298 #DB73B3 #E8A4CD

Accessibility & contrast

On white

4.30
#CF4298 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#CF4298 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4298
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4298#FFFFFF#000000##000000
##CF42981.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#546A9A
Deuteranopia (green-blind)
#7D8395
Tritanopia (blue-blind)
#DD3E67
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf4298;
/* rgb */ color: rgb(207, 66, 152);
/* oklch */ color: oklch(60.5% 0.196 347.0);
Tailwind
colors: {
  custom: {
    50: '#e281b6',
    500: '#cf4298',
    950: '#000000',
  },
}
SCSS
$custom: #cf4298;
$custom-light: #e281b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4298",
  "rgb": {
    "r": 207,
    "g": 66,
    "b": 152
  },
  "hsl": {
    "h": 323.404,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6051,
    "c": 0.19617,
    "h": 347
  },
  "luminance": 0.19429
}

Semantic roles & 50–950 ramp

primary
#CF4298
secondary
#98D5B0
accent
#E38345
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CF4298

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

Preview Lab → · Contrast checker → · Palette generator →

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