#CF4D8B#CF4D8B

#CF4D8B is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.2% C 0.175 H 353.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CF4D8B
RGBrgb(207, 77, 139)
HSLhsl(331, 58%, 56%)
HSVhsv(331, 63%, 81%)
CMYKcmyk(0%, 62.8%, 32.9%, 18.8%)
CIE-LABlab(52.33, 57.06, -7.25)
CIE-LCHlch(52.33, 57.52, 352.75°)
OKLaboklab(61.2% 0.174 -0.0184)
OKLCHoklch(61.2% 0.175 353.9)
XYZxyz(33.0479, 20.4408, 26.6261)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4D8B #4DCF91
analogous
#CF4DCC #CF4D8B #CF504D
triadic
#CF4D8B #8BCF4D #4D8BCF
tetradic
#CF4D8B #CCCF4D #4DCF91 #504DCF
square
#CF4D8B #CCCF4D #4DCF91 #504DCF
split-complementary
#CF4D8B #4DCF50 #4DCCCF
monochromatic
#7F224F #AF2F6C #CF4D8B #DC7DAA #E9ADCA

Accessibility & contrast

On white

4.13
#CF4D8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CF4D8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4D8B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4D8B#FFFFFF#000000##000000
##CF4D8B1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#616E8D
Deuteranopia (green-blind)
#858688
Tritanopia (blue-blind)
#DE4466
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf4d8b;
/* rgb */ color: rgb(207, 77, 139);
/* oklch */ color: oklch(61.2% 0.175 353.9);
Tailwind
colors: {
  custom: {
    50: '#e286ac',
    500: '#cf4d8b',
    950: '#000000',
  },
}
SCSS
$custom: #cf4d8b;
$custom-light: #e286ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4d8b",
  "rgb": {
    "r": 207,
    "g": 77,
    "b": 139
  },
  "hsl": {
    "h": 331.385,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61202,
    "c": 0.17499,
    "h": 353.9
  },
  "luminance": 0.20437
}

Semantic roles & 50–950 ramp

primary
#CF4D8B
secondary
#A1D7BD
accent
#E19747
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF4D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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