#CF4D9B#CF4D9B

#CF4D9B is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.8% C 0.183 H 346.8°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#CF4D9B
RGBrgb(207, 77, 155)
HSLhsl(324, 58%, 56%)
HSVhsv(324, 63%, 81%)
CMYKcmyk(0%, 62.8%, 25.1%, 18.8%)
CIE-LABlab(52.89, 59.06, -15.90)
CIE-LCHlch(52.89, 61.16, 344.94°)
OKLaboklab(61.79% 0.1784 -0.0419)
OKLCHoklch(61.79% 0.183 346.8)
XYZxyz(34.3037, 20.9431, 33.2398)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4D9B #4DCF81
analogous
#C24DCF #CF4D9B #CF4D5A
triadic
#CF4D9B #9BCF4D #4D9BCF
tetradic
#CF4D9B #CFC24D #4DCF81 #4D5ACF
square
#CF4D9B #CFC24D #4DCF81 #4D5ACF
split-complementary
#CF4D9B #5ACF4D #4DCFC2
monochromatic
#7F225A #AF2F7C #CF4D9B #DC7DB6 #E9ADD1

Accessibility & contrast

On white

4.05
#CF4D9B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#CF4D9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4D9B
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4D9B#FFFFFF#000000##000000
##CF4D9B1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C709D
Deuteranopia (green-blind)
#818698
Tritanopia (blue-blind)
#DC4A6D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf4d9b;
/* rgb */ color: rgb(207, 77, 155);
/* oklch */ color: oklch(61.8% 0.183 346.8);
Tailwind
colors: {
  custom: {
    50: '#e186b8',
    500: '#cf4d9b',
    950: '#000000',
  },
}
SCSS
$custom: #cf4d9b;
$custom-light: #e186b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4d9b",
  "rgb": {
    "r": 207,
    "g": 77,
    "b": 155
  },
  "hsl": {
    "h": 324,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61794,
    "c": 0.18327,
    "h": 346.8
  },
  "luminance": 0.2094
}

Semantic roles & 50–950 ramp

primary
#CF4D9B
secondary
#A1D7B6
accent
#E18547
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CF4D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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