#CF4F8F#CF4F8F

#CF4F8F is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.6% C 0.174 H 352.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CF4F8F
RGBrgb(207, 79, 143)
HSLhsl(330, 57%, 56%)
HSVhsv(330, 62%, 81%)
CMYKcmyk(0%, 61.8%, 30.9%, 18.8%)
CIE-LABlab(52.78, 56.69, -8.96)
CIE-LCHlch(52.78, 57.39, 351.01°)
OKLaboklab(61.58% 0.1725 -0.0231)
OKLCHoklch(61.58% 0.174 352.4)
XYZxyz(33.4876, 20.8440, 28.2410)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4F8F #4FCF8F
analogous
#CF4FCF #CF4F8F #CF4F4F
triadic
#CF4F8F #8FCF4F #4F8FCF
tetradic
#CF4F8F #CFCF4F #4FCF8F #4F4FCF
square
#CF4F8F #CFCF4F #4FCF8F #4F4FCF
split-complementary
#CF4F8F #4FCF4F #4FCFCF
monochromatic
#812352 #B13070 #CF4F8F #DC7FAE #E9AFCC

Accessibility & contrast

On white

4.06
#CF4F8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CF4F8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4F8F
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4F8F#FFFFFF#000000##000000
##CF4F8F1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#626F91
Deuteranopia (green-blind)
#85878C
Tritanopia (blue-blind)
#DE4869
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf4f8f;
/* rgb */ color: rgb(207, 79, 143);
/* oklch */ color: oklch(61.6% 0.174 352.4);
Tailwind
colors: {
  custom: {
    50: '#e187af',
    500: '#cf4f8f',
    950: '#000000',
  },
}
SCSS
$custom: #cf4f8f;
$custom-light: #e187af;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4f8f",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 143
  },
  "hsl": {
    "h": 330,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61576,
    "c": 0.17407,
    "h": 352.4
  },
  "luminance": 0.20841
}

Semantic roles & 50–950 ramp

primary
#CF4F8F
secondary
#A2D7BD
accent
#E09447
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF4F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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