#CF4F8D#CF4F8D

#CF4F8D is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.5% C 0.173 H 353.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CF4F8D
RGBrgb(207, 79, 141)
HSLhsl(331, 57%, 56%)
HSVhsv(331, 62%, 81%)
CMYKcmyk(0%, 61.8%, 31.9%, 18.8%)
CIE-LABlab(52.71, 56.44, -7.88)
CIE-LCHlch(52.71, 56.99, 352.06°)
OKLaboklab(61.51% 0.172 -0.0201)
OKLCHoklch(61.51% 0.173 353.3)
XYZxyz(33.3375, 20.7840, 27.4502)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4F8D #4FCF91
analogous
#CF4FCD #CF4F8D #CF514F
triadic
#CF4F8D #8DCF4F #4F8DCF
tetradic
#CF4F8D #CDCF4F #4FCF91 #514FCF
square
#CF4F8D #CDCF4F #4FCF91 #514FCF
split-complementary
#CF4F8D #4FCF51 #4FCDCF
monochromatic
#812350 #B1306E #CF4F8D #DC7FAC #E9AFCB

Accessibility & contrast

On white

4.07
#CF4F8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CF4F8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4F8D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4F8D#FFFFFF#000000##000000
##CF4F8D1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#626F8F
Deuteranopia (green-blind)
#85868A
Tritanopia (blue-blind)
#DE4768
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf4f8d;
/* rgb */ color: rgb(207, 79, 141);
/* oklch */ color: oklch(61.5% 0.173 353.3);
Tailwind
colors: {
  custom: {
    50: '#e287ae',
    500: '#cf4f8d',
    950: '#000000',
  },
}
SCSS
$custom: #cf4f8d;
$custom-light: #e287ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4f8d",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 330.938,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61505,
    "c": 0.17312,
    "h": 353.3
  },
  "luminance": 0.2078
}

Semantic roles & 50–950 ramp

primary
#CF4F8D
secondary
#A2D7BE
accent
#E09647
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF4F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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