#CF4C7E#CF4C7E

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

Color values

HEX#CF4C7E
RGBrgb(207, 76, 126)
HSLhsl(337, 58%, 55%)
HSVhsv(337, 63%, 81%)
CMYKcmyk(0%, 63.3%, 39.1%, 18.8%)
CIE-LABlab(51.77, 56.01, -0.32)
CIE-LCHlch(51.77, 56.01, 359.67°)
OKLaboklab(60.66% 0.1712 -0.0001)
OKLCHoklch(60.66% 0.171 359.9)
XYZxyz(32.0845, 19.9443, 21.8946)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4C7E #4CCF9D
analogous
#CF4CC0 #CF4C7E #CF5B4C
triadic
#CF4C7E #7ECF4C #4C7ECF
tetradic
#CF4C7E #C0CF4C #4CCF9D #5B4CCF
square
#CF4C7E #C0CF4C #4CCF9D #5B4CCF
split-complementary
#CF4C7E #4CCF5B #4CC0CF
monochromatic
#7F2245 #AF2F60 #CF4C7E #DC7CA1 #E9ADC4

Accessibility & contrast

On white

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

On black

4.99
#CF4C7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4C7E
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4C7E#FFFFFF#000000##000000
##CF4C7E1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#646C7F
Deuteranopia (green-blind)
#87857B
Tritanopia (blue-blind)
#DF3F60
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf4c7e;
/* rgb */ color: rgb(207, 76, 126);
/* oklch */ color: oklch(60.7% 0.171 359.9);
Tailwind
colors: {
  custom: {
    50: '#e285a3',
    500: '#cf4c7e',
    950: '#000000',
  },
}
SCSS
$custom: #cf4c7e;
$custom-light: #e285a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4c7e",
  "rgb": {
    "r": 207,
    "g": 76,
    "b": 126
  },
  "hsl": {
    "h": 337.099,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60657,
    "c": 0.17119,
    "h": 359.9
  },
  "luminance": 0.19941
}

Semantic roles & 50–950 ramp

primary
#CF4C7E
secondary
#A0D7C2
accent
#E1A647
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CF4C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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