#CF4E8C#CF4E8C

#CF4E8C is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.4% C 0.174 H 353.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CF4E8C
RGBrgb(207, 78, 140)
HSLhsl(331, 57%, 56%)
HSVhsv(331, 62%, 81%)
CMYKcmyk(0%, 62.3%, 32.4%, 18.8%)
CIE-LABlab(52.52, 56.75, -7.57)
CIE-LCHlch(52.52, 57.25, 352.41°)
OKLaboklab(61.35% 0.173 -0.0193)
OKLCHoklch(61.35% 0.174 353.6)
XYZxyz(33.1918, 20.6112, 27.0362)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4E8C #4ECF91
analogous
#CF4ECC #CF4E8C #CF504E
triadic
#CF4E8C #8CCF4E #4E8CCF
tetradic
#CF4E8C #CCCF4E #4ECF91 #504ECF
square
#CF4E8C #CCCF4E #4ECF91 #504ECF
split-complementary
#CF4E8C #4ECF50 #4ECCCF
monochromatic
#80234F #B0306D #CF4E8C #DC7EAB #E9AECB

Accessibility & contrast

On white

4.10
#CF4E8C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CF4E8C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4E8C
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4E8C#FFFFFF#000000##000000
##CF4E8C1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#626E8E
Deuteranopia (green-blind)
#858689
Tritanopia (blue-blind)
#DE4667
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf4e8c;
/* rgb */ color: rgb(207, 78, 140);
/* oklch */ color: oklch(61.4% 0.174 353.6);
Tailwind
colors: {
  custom: {
    50: '#e287ad',
    500: '#cf4e8c',
    950: '#000000',
  },
}
SCSS
$custom: #cf4e8c;
$custom-light: #e287ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4e8c",
  "rgb": {
    "r": 207,
    "g": 78,
    "b": 140
  },
  "hsl": {
    "h": 331.163,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61353,
    "c": 0.17405,
    "h": 353.6
  },
  "luminance": 0.20608
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF4E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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