#CF4F98#CF4F98

#CF4F98 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.9% C 0.179 H 348.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CF4F98
RGBrgb(207, 79, 152)
HSLhsl(326, 57%, 56%)
HSVhsv(326, 62%, 81%)
CMYKcmyk(0%, 61.8%, 26.6%, 18.8%)
CIE-LABlab(53.09, 57.82, -13.82)
CIE-LCHlch(53.09, 59.45, 346.56°)
OKLaboklab(61.91% 0.175 -0.0363)
OKLCHoklch(61.91% 0.179 348.3)
XYZxyz(34.1970, 21.1278, 31.9768)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4F98 #4FCF86
analogous
#C64FCF #CF4F98 #CF4F58
triadic
#CF4F98 #98CF4F #4F98CF
tetradic
#CF4F98 #CFC64F #4FCF86 #4F58CF
square
#CF4F98 #CFC64F #4FCF86 #4F58CF
split-complementary
#CF4F98 #58CF4F #4FCFC6
monochromatic
#812358 #B13079 #CF4F98 #DC7FB4 #E9AFD0

Accessibility & contrast

On white

4.02
#CF4F98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#CF4F98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4F98
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4F98#FFFFFF#000000##000000
##CF4F981.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E719A
Deuteranopia (green-blind)
#828795
Tritanopia (blue-blind)
#DD4B6D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf4f98;
/* rgb */ color: rgb(207, 79, 152);
/* oklch */ color: oklch(61.9% 0.179 348.3);
Tailwind
colors: {
  custom: {
    50: '#e187b6',
    500: '#cf4f98',
    950: '#000000',
  },
}
SCSS
$custom: #cf4f98;
$custom-light: #e187b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4f98",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 152
  },
  "hsl": {
    "h": 325.781,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61908,
    "c": 0.17875,
    "h": 348.3
  },
  "luminance": 0.21124
}

Semantic roles & 50–950 ramp

primary
#CF4F98
secondary
#A2D7B9
accent
#E08947
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CF4F98

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

Preview Lab → · Contrast checker → · Palette generator →

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