#CF4B7E#CF4B7E

#CF4B7E is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.5% C 0.173 H 359.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CF4B7E
RGBrgb(207, 75, 126)
HSLhsl(337, 58%, 55%)
HSVhsv(337, 64%, 81%)
CMYKcmyk(0%, 63.8%, 39.1%, 18.8%)
CIE-LABlab(51.62, 56.43, -0.55)
CIE-LCHlch(51.62, 56.44, 359.45°)
OKLaboklab(60.54% 0.1725 -0.0007)
OKLCHoklch(60.54% 0.173 359.8)
XYZxyz(32.0161, 19.8076, 21.8718)
Luminance0.1980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4B7E #4BCF9C
analogous
#CF4BC0 #CF4B7E #CF5A4B
triadic
#CF4B7E #7ECF4B #4B7ECF
tetradic
#CF4B7E #C0CF4B #4BCF9C #5A4BCF
square
#CF4B7E #C0CF4B #4BCF9C #5A4BCF
split-complementary
#CF4B7E #4BCF5A #4BC0CF
monochromatic
#7E2245 #AE2E60 #CF4B7E #DC7BA1 #E9ACC3

Accessibility & contrast

On white

4.23
#CF4B7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CF4B7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4B7E
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4B7E#FFFFFF#000000##000000
##CF4B7E1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#646B7F
Deuteranopia (green-blind)
#87847B
Tritanopia (blue-blind)
#DF3D5F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf4b7e;
/* rgb */ color: rgb(207, 75, 126);
/* oklch */ color: oklch(60.5% 0.173 359.8);
Tailwind
colors: {
  custom: {
    50: '#e285a3',
    500: '#cf4b7e',
    950: '#000000',
  },
}
SCSS
$custom: #cf4b7e;
$custom-light: #e285a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4b7e",
  "rgb": {
    "r": 207,
    "g": 75,
    "b": 126
  },
  "hsl": {
    "h": 336.818,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60541,
    "c": 0.17252,
    "h": 359.8
  },
  "luminance": 0.19804
}

Semantic roles & 50–950 ramp

primary
#CF4B7E
secondary
#9FD6C1
accent
#E1A547
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CF4B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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