#CF4A9D#CF4A9D

#CF4A9D is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.5% C 0.189 H 345.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CF4A9D
RGBrgb(207, 74, 157)
HSLhsl(323, 58%, 55%)
HSVhsv(323, 64%, 81%)
CMYKcmyk(0%, 64.3%, 24.2%, 18.8%)
CIE-LABlab(52.51, 60.57, -17.65)
CIE-LCHlch(52.51, 63.09, 343.75°)
OKLaboklab(61.54% 0.1827 -0.0468)
OKLCHoklch(61.54% 0.189 345.6)
XYZxyz(34.2680, 20.6007, 34.0634)
Luminance0.2060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4A9D #4ACF7C
analogous
#BE4ACF #CF4A9D #CF4A5B
triadic
#CF4A9D #9DCF4A #4A9DCF
tetradic
#CF4A9D #CFBE4A #4ACF7C #4A5BCF
square
#CF4A9D #CFBE4A #4ACF7C #4A5BCF
split-complementary
#CF4A9D #5BCF4A #4ACFBE
monochromatic
#7D215B #AE2E7E #CF4A9D #DC7AB7 #E9ABD1

Accessibility & contrast

On white

4.10
#CF4A9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CF4A9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4A9D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4A9D#FFFFFF#000000##000000
##CF4A9D1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#586F9F
Deuteranopia (green-blind)
#7F869A
Tritanopia (blue-blind)
#DC486D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf4a9d;
/* rgb */ color: rgb(207, 74, 157);
/* oklch */ color: oklch(61.5% 0.189 345.6);
Tailwind
colors: {
  custom: {
    50: '#e185ba',
    500: '#cf4a9d',
    950: '#000000',
  },
}
SCSS
$custom: #cf4a9d;
$custom-light: #e185ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4a9d",
  "rgb": {
    "r": 207,
    "g": 74,
    "b": 157
  },
  "hsl": {
    "h": 322.556,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61541,
    "c": 0.18857,
    "h": 345.6
  },
  "luminance": 0.20597
}

Semantic roles & 50–950 ramp

primary
#CF4A9D
secondary
#9FD6B3
accent
#E18146
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CF4A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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