#CF4098#CF4098

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

Color values

HEX#CF4098
RGBrgb(207, 64, 152)
HSLhsl(323, 60%, 53%)
HSVhsv(323, 69%, 81%)
CMYKcmyk(0%, 69.1%, 26.6%, 18.8%)
CIE-LABlab(50.92, 63.79, -17.11)
CIE-LCHlch(50.92, 66.04, 344.99°)
OKLaboklab(60.32% 0.1934 -0.0452)
OKLCHoklch(60.32% 0.199 346.9)
XYZxyz(33.2345, 19.2027, 31.6559)
Luminance0.1920 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4098 #40CF77
analogous
#BF40CF #CF4098 #CF4050
triadic
#CF4098 #98CF40 #4098CF
tetradic
#CF4098 #CFBF40 #40CF77 #4050CF
square
#CF4098 #CFBF40 #40CF77 #4050CF
split-complementary
#CF4098 #50CF40 #40CFBF
monochromatic
#771E55 #A82A77 #CF4098 #DB71B2 #E8A2CD

Accessibility & contrast

On white

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

On black

4.84
#CF4098 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4098
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4098#FFFFFF#000000##000000
##CF40981.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#526A9A
Deuteranopia (green-blind)
#7C8295
Tritanopia (blue-blind)
#DD3C66
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf4098;
/* rgb */ color: rgb(207, 64, 152);
/* oklch */ color: oklch(60.3% 0.199 346.9);
Tailwind
colors: {
  custom: {
    50: '#e280b6',
    500: '#cf4098',
    950: '#000000',
  },
}
SCSS
$custom: #cf4098;
$custom-light: #e280b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4098",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 152
  },
  "hsl": {
    "h": 323.077,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60316,
    "c": 0.19865,
    "h": 346.9
  },
  "luminance": 0.19199
}

Semantic roles & 50–950 ramp

primary
#CF4098
secondary
#97D4AE
accent
#E38245
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CF4098

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

Preview Lab → · Contrast checker → · Palette generator →

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