#CF4F9A#CF4F9A

#CF4F9A is a mid, vivid pink. Relative luminance 0.212; OKLCH L 62.0% C 0.180 H 347.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#CF4F9A
RGBrgb(207, 79, 154)
HSLhsl(325, 57%, 56%)
HSVhsv(325, 62%, 81%)
CMYKcmyk(0%, 61.8%, 25.6%, 18.8%)
CIE-LABlab(53.16, 58.08, -14.89)
CIE-LCHlch(53.16, 59.96, 345.62°)
OKLaboklab(61.98% 0.1756 -0.0392)
OKLCHoklch(61.98% 0.18 347.4)
XYZxyz(34.3622, 21.1938, 32.8467)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4F9A #4FCF84
analogous
#C44FCF #CF4F9A #CF4F5A
triadic
#CF4F9A #9ACF4F #4F9ACF
tetradic
#CF4F9A #CFC44F #4FCF84 #4F5ACF
square
#CF4F9A #CFC44F #4FCF84 #4F5ACF
split-complementary
#CF4F9A #5ACF4F #4FCFC4
monochromatic
#81235A #B1307B #CF4F9A #DC7FB6 #E9AFD1

Accessibility & contrast

On white

4.01
#CF4F9A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#CF4F9A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4F9A
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4F9A#FFFFFF#000000##000000
##CF4F9A1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E719C
Deuteranopia (green-blind)
#828797
Tritanopia (blue-blind)
#DD4C6E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf4f9a;
/* rgb */ color: rgb(207, 79, 154);
/* oklch */ color: oklch(62.0% 0.180 347.4);
Tailwind
colors: {
  custom: {
    50: '#e187b7',
    500: '#cf4f9a',
    950: '#000000',
  },
}
SCSS
$custom: #cf4f9a;
$custom-light: #e187b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4f9a",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 154
  },
  "hsl": {
    "h": 324.844,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61984,
    "c": 0.17987,
    "h": 347.4
  },
  "luminance": 0.2119
}

Semantic roles & 50–950 ramp

primary
#CF4F9A
secondary
#A2D7B8
accent
#E08747
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CF4F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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