#CF4D7B#CF4D7B

#CF4D7B is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.7% C 0.169 H 1.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CF4D7B
RGBrgb(207, 77, 123)
HSLhsl(339, 58%, 56%)
HSVhsv(339, 63%, 81%)
CMYKcmyk(0%, 62.8%, 40.6%, 18.8%)
CIE-LABlab(51.84, 55.27, 1.58)
CIE-LCHlch(51.84, 55.29, 1.64°)
OKLaboklab(60.68% 0.1688 0.0048)
OKLCHoklch(60.68% 0.169 1.6)
XYZxyz(31.9633, 20.0069, 20.9135)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4D7B #4DCFA1
analogous
#CF4DBC #CF4D7B #CF604D
triadic
#CF4D7B #7BCF4D #4D7BCF
tetradic
#CF4D7B #BCCF4D #4DCFA1 #604DCF
square
#CF4D7B #BCCF4D #4DCFA1 #604DCF
split-complementary
#CF4D7B #4DCF60 #4DBCCF
monochromatic
#7F2243 #AF2F5D #CF4D7B #DC7D9F #E9ADC2

Accessibility & contrast

On white

4.20
#CF4D7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CF4D7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4D7B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4D7B#FFFFFF#000000##000000
##CF4D7B1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#666C7C
Deuteranopia (green-blind)
#888578
Tritanopia (blue-blind)
#E03F5F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4d7b;
/* rgb */ color: rgb(207, 77, 123);
/* oklch */ color: oklch(60.7% 0.169 1.6);
Tailwind
colors: {
  custom: {
    50: '#e286a1',
    500: '#cf4d7b',
    950: '#000000',
  },
}
SCSS
$custom: #cf4d7b;
$custom-light: #e286a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4d7b",
  "rgb": {
    "r": 207,
    "g": 77,
    "b": 123
  },
  "hsl": {
    "h": 338.769,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60681,
    "c": 0.1689,
    "h": 1.6
  },
  "luminance": 0.20003
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF4D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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