#CF4C8A#CF4C8A

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

Color values

HEX#CF4C8A
RGBrgb(207, 76, 138)
HSLhsl(332, 58%, 55%)
HSVhsv(332, 63%, 81%)
CMYKcmyk(0%, 63.3%, 33.3%, 18.8%)
CIE-LABlab(52.14, 57.36, -6.94)
CIE-LCHlch(52.14, 57.78, 353.10°)
OKLaboklab(61.05% 0.175 -0.0176)
OKLCHoklch(61.05% 0.176 354.3)
XYZxyz(32.9058, 20.2728, 26.2200)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4C8A #4CCF91
analogous
#CF4CCB #CF4C8A #CF4F4C
triadic
#CF4C8A #8ACF4C #4C8ACF
tetradic
#CF4C8A #CBCF4C #4CCF91 #4F4CCF
square
#CF4C8A #CBCF4C #4CCF91 #4F4CCF
split-complementary
#CF4C8A #4CCF4F #4CCBCF
monochromatic
#7F224E #AF2F6B #CF4C8A #DC7CAA #E9ADC9

Accessibility & contrast

On white

4.16
#CF4C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CF4C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4C8A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4C8A#FFFFFF#000000##000000
##CF4C8A1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#616D8C
Deuteranopia (green-blind)
#858587
Tritanopia (blue-blind)
#DE4365
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4c8a;
/* rgb */ color: rgb(207, 76, 138);
/* oklch */ color: oklch(61.1% 0.176 354.3);
Tailwind
colors: {
  custom: {
    50: '#e285ac',
    500: '#cf4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #cf4c8a;
$custom-light: #e285ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4c8a",
  "rgb": {
    "r": 207,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 331.603,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61052,
    "c": 0.17591,
    "h": 354.3
  },
  "luminance": 0.20269
}

Semantic roles & 50–950 ramp

primary
#CF4C8A
secondary
#A0D7BD
accent
#E19847
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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