#CF4E7C#CF4E7C

#CF4E7C is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.8% C 0.168 H 1.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CF4E7C
RGBrgb(207, 78, 124)
HSLhsl(339, 57%, 56%)
HSVhsv(339, 62%, 81%)
CMYKcmyk(0%, 62.3%, 40.1%, 18.8%)
CIE-LABlab(52.03, 54.94, 1.25)
CIE-LCHlch(52.03, 54.96, 1.31°)
OKLaboklab(60.83% 0.1678 0.0039)
OKLCHoklch(60.83% 0.168 1.3)
XYZxyz(32.0967, 20.1731, 21.2684)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4E7C #4ECFA1
analogous
#CF4EBC #CF4E7C #CF604E
triadic
#CF4E7C #7CCF4E #4E7CCF
tetradic
#CF4E7C #BCCF4E #4ECFA1 #604ECF
square
#CF4E7C #BCCF4E #4ECFA1 #604ECF
split-complementary
#CF4E7C #4ECF60 #4EBCCF
monochromatic
#802344 #B0305D #CF4E7C #DC7EA0 #E9AEC3

Accessibility & contrast

On white

4.17
#CF4E7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CF4E7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4E7C
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4E7C#FFFFFF#000000##000000
##CF4E7C1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#666C7D
Deuteranopia (green-blind)
#898579
Tritanopia (blue-blind)
#DF4060
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4e7c;
/* rgb */ color: rgb(207, 78, 124);
/* oklch */ color: oklch(60.8% 0.168 1.3);
Tailwind
colors: {
  custom: {
    50: '#e286a1',
    500: '#cf4e7c',
    950: '#000000',
  },
}
SCSS
$custom: #cf4e7c;
$custom-light: #e286a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4e7c",
  "rgb": {
    "r": 207,
    "g": 78,
    "b": 124
  },
  "hsl": {
    "h": 338.605,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6083,
    "c": 0.16787,
    "h": 1.3
  },
  "luminance": 0.20169
}

Semantic roles & 50–950 ramp

primary
#CF4E7C
secondary
#A2D7C4
accent
#E1AA47
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CF4E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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