#CF4C8B#CF4C8B

#CF4C8B is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.1% C 0.176 H 353.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CF4C8B
RGBrgb(207, 76, 139)
HSLhsl(331, 58%, 55%)
HSVhsv(331, 63%, 81%)
CMYKcmyk(0%, 63.3%, 32.9%, 18.8%)
CIE-LABlab(52.18, 57.48, -7.49)
CIE-LCHlch(52.18, 57.97, 352.58°)
OKLaboklab(61.09% 0.1753 -0.0191)
OKLCHoklch(61.09% 0.176 353.8)
XYZxyz(32.9785, 20.3019, 26.6030)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4C8B #4CCF90
analogous
#CF4CCC #CF4C8B #CF4E4C
triadic
#CF4C8B #8BCF4C #4C8BCF
tetradic
#CF4C8B #CCCF4C #4CCF90 #4E4CCF
square
#CF4C8B #CCCF4C #4CCF90 #4E4CCF
split-complementary
#CF4C8B #4CCF4E #4CCCCF
monochromatic
#7F224F #AF2F6C #CF4C8B #DC7CAA #E9ADCA

Accessibility & contrast

On white

4.15
#CF4C8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CF4C8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4C8B
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4C8B#FFFFFF#000000##000000
##CF4C8B1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#606D8D
Deuteranopia (green-blind)
#848588
Tritanopia (blue-blind)
#DE4365
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4c8b;
/* rgb */ color: rgb(207, 76, 139);
/* oklch */ color: oklch(61.1% 0.176 353.8);
Tailwind
colors: {
  custom: {
    50: '#e285ac',
    500: '#cf4c8b',
    950: '#000000',
  },
}
SCSS
$custom: #cf4c8b;
$custom-light: #e285ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4c8b",
  "rgb": {
    "r": 207,
    "g": 76,
    "b": 139
  },
  "hsl": {
    "h": 331.145,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61087,
    "c": 0.17636,
    "h": 353.8
  },
  "luminance": 0.20298
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF4C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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