#CF4C7B#CF4C7B

#CF4C7B is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.6% C 0.170 H 1.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CF4C7B
RGBrgb(207, 76, 123)
HSLhsl(338, 58%, 55%)
HSVhsv(338, 63%, 81%)
CMYKcmyk(0%, 63.3%, 40.6%, 18.8%)
CIE-LABlab(51.69, 55.69, 1.35)
CIE-LCHlch(51.69, 55.71, 1.39°)
OKLaboklab(60.56% 0.1702 0.0042)
OKLCHoklch(60.56% 0.17 1.4)
XYZxyz(31.8938, 19.8680, 20.8904)
Luminance0.1986 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4C7B #4CCFA0
analogous
#CF4CBD #CF4C7B #CF5E4C
triadic
#CF4C7B #7BCF4C #4C7BCF
tetradic
#CF4C7B #BDCF4C #4CCFA0 #5E4CCF
square
#CF4C7B #BDCF4C #4CCFA0 #5E4CCF
split-complementary
#CF4C7B #4CCF5E #4CBDCF
monochromatic
#7F2243 #AF2F5D #CF4C7B #DC7C9F #E9ADC2

Accessibility & contrast

On white

4.22
#CF4C7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CF4C7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4C7B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4C7B#FFFFFF#000000##000000
##CF4C7B1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#656B7C
Deuteranopia (green-blind)
#888578
Tritanopia (blue-blind)
#E03E5E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf4c7b;
/* rgb */ color: rgb(207, 76, 123);
/* oklch */ color: oklch(60.6% 0.170 1.4);
Tailwind
colors: {
  custom: {
    50: '#e285a1',
    500: '#cf4c7b',
    950: '#000000',
  },
}
SCSS
$custom: #cf4c7b;
$custom-light: #e285a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4c7b",
  "rgb": {
    "r": 207,
    "g": 76,
    "b": 123
  },
  "hsl": {
    "h": 338.473,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60564,
    "c": 0.17022,
    "h": 1.4
  },
  "luminance": 0.19864
}

Semantic roles & 50–950 ramp

primary
#CF4C7B
secondary
#A0D7C3
accent
#E1AA47
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CF4C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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