#CF4E7A#CF4E7A

#CF4E7A is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.8% C 0.167 H 2.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CF4E7A
RGBrgb(207, 78, 122)
HSLhsl(340, 57%, 56%)
HSVhsv(340, 62%, 81%)
CMYKcmyk(0%, 62.3%, 41.1%, 18.8%)
CIE-LABlab(51.98, 54.73, 2.37)
CIE-LCHlch(51.98, 54.78, 2.48°)
OKLaboklab(60.77% 0.1671 0.0068)
OKLCHoklch(60.77% 0.167 2.3)
XYZxyz(31.9715, 20.1230, 20.6090)
Luminance0.2012 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4E7A #4ECFA3
analogous
#CF4EBA #CF4E7A #CF624E
triadic
#CF4E7A #7ACF4E #4E7ACF
tetradic
#CF4E7A #BACF4E #4ECFA3 #624ECF
square
#CF4E7A #BACF4E #4ECFA3 #624ECF
split-complementary
#CF4E7A #4ECF62 #4EBACF
monochromatic
#802342 #B0305C #CF4E7A #DC7E9E #E9AEC2

Accessibility & contrast

On white

4.18
#CF4E7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CF4E7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4E7A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4E7A#FFFFFF#000000##000000
##CF4E7A1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#676C7B
Deuteranopia (green-blind)
#898577
Tritanopia (blue-blind)
#E0405F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4e7a;
/* rgb */ color: rgb(207, 78, 122);
/* oklch */ color: oklch(60.8% 0.167 2.3);
Tailwind
colors: {
  custom: {
    50: '#e286a0',
    500: '#cf4e7a',
    950: '#000000',
  },
}
SCSS
$custom: #cf4e7a;
$custom-light: #e286a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4e7a",
  "rgb": {
    "r": 207,
    "g": 78,
    "b": 122
  },
  "hsl": {
    "h": 339.535,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60769,
    "c": 0.16726,
    "h": 2.3
  },
  "luminance": 0.20119
}

Semantic roles & 50–950 ramp

primary
#CF4E7A
secondary
#A2D7C5
accent
#E1AC47
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CF4E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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