#CF4D8A#CF4D8A

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

Color values

HEX#CF4D8A
RGBrgb(207, 77, 138)
HSLhsl(332, 58%, 56%)
HSVhsv(332, 63%, 81%)
CMYKcmyk(0%, 62.8%, 33.3%, 18.8%)
CIE-LABlab(52.30, 56.94, -6.71)
CIE-LCHlch(52.30, 57.33, 353.28°)
OKLaboklab(61.17% 0.1737 -0.017)
OKLCHoklch(61.17% 0.175 354.4)
XYZxyz(32.9752, 20.4117, 26.2431)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4D8A #4DCF92
analogous
#CF4DCB #CF4D8A #CF514D
triadic
#CF4D8A #8ACF4D #4D8ACF
tetradic
#CF4D8A #CBCF4D #4DCF92 #514DCF
square
#CF4D8A #CBCF4D #4DCF92 #514DCF
split-complementary
#CF4D8A #4DCF51 #4DCBCF
monochromatic
#7F224E #AF2F6B #CF4D8A #DC7DAA #E9ADC9

Accessibility & contrast

On white

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

On black

5.08
#CF4D8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4D8A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4D8A#FFFFFF#000000##000000
##CF4D8A1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#626E8C
Deuteranopia (green-blind)
#858687
Tritanopia (blue-blind)
#DE4466
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf4d8a;
/* rgb */ color: rgb(207, 77, 138);
/* oklch */ color: oklch(61.2% 0.175 354.4);
Tailwind
colors: {
  custom: {
    50: '#e286ac',
    500: '#cf4d8a',
    950: '#000000',
  },
}
SCSS
$custom: #cf4d8a;
$custom-light: #e286ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4d8a",
  "rgb": {
    "r": 207,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 331.846,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61167,
    "c": 0.17454,
    "h": 354.4
  },
  "luminance": 0.20408
}

Semantic roles & 50–950 ramp

primary
#CF4D8A
secondary
#A1D7BE
accent
#E19947
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF4D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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