#CF4C7D#CF4C7D

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

Color values

HEX#CF4C7D
RGBrgb(207, 76, 125)
HSLhsl(338, 58%, 55%)
HSVhsv(338, 63%, 81%)
CMYKcmyk(0%, 63.3%, 39.6%, 18.8%)
CIE-LABlab(51.75, 55.90, 0.24)
CIE-LCHlch(51.75, 55.91, 0.24°)
OKLaboklab(60.62% 0.1709 0.0013)
OKLCHoklch(60.62% 0.171 0.4)
XYZxyz(32.0203, 19.9186, 21.5565)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4C7D #4CCF9E
analogous
#CF4CBF #CF4C7D #CF5C4C
triadic
#CF4C7D #7DCF4C #4C7DCF
tetradic
#CF4C7D #BFCF4C #4CCF9E #5C4CCF
square
#CF4C7D #BFCF4C #4CCF9E #5C4CCF
split-complementary
#CF4C7D #4CCF5C #4CBFCF
monochromatic
#7F2245 #AF2F5F #CF4C7D #DC7CA0 #E9ADC3

Accessibility & contrast

On white

4.21
#CF4C7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CF4C7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4C7D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4C7D#FFFFFF#000000##000000
##CF4C7D1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C7E
Deuteranopia (green-blind)
#88857A
Tritanopia (blue-blind)
#DF3E5F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf4c7d;
/* rgb */ color: rgb(207, 76, 125);
/* oklch */ color: oklch(60.6% 0.171 0.4);
Tailwind
colors: {
  custom: {
    50: '#e285a2',
    500: '#cf4c7d',
    950: '#000000',
  },
}
SCSS
$custom: #cf4c7d;
$custom-light: #e285a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4c7d",
  "rgb": {
    "r": 207,
    "g": 76,
    "b": 125
  },
  "hsl": {
    "h": 337.557,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60625,
    "c": 0.17086,
    "h": 0.4
  },
  "luminance": 0.19915
}

Semantic roles & 50–950 ramp

primary
#CF4C7D
secondary
#A0D7C2
accent
#E1A747
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CF4C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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