#CF4A9C#CF4A9C

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

Color values

HEX#CF4A9C
RGBrgb(207, 74, 156)
HSLhsl(323, 58%, 55%)
HSVhsv(323, 64%, 81%)
CMYKcmyk(0%, 64.3%, 24.6%, 18.8%)
CIE-LABlab(52.47, 60.43, -17.12)
CIE-LCHlch(52.47, 62.81, 344.19°)
OKLaboklab(61.5% 0.1825 -0.0453)
OKLCHoklch(61.5% 0.188 346.1)
XYZxyz(34.1829, 20.5666, 33.6156)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4A9C #4ACF7D
analogous
#C04ACF #CF4A9C #CF4A59
triadic
#CF4A9C #9CCF4A #4A9CCF
tetradic
#CF4A9C #CFC04A #4ACF7D #4A59CF
square
#CF4A9C #CFC04A #4ACF7D #4A59CF
split-complementary
#CF4A9C #59CF4A #4ACFC0
monochromatic
#7D215A #AE2E7D #CF4A9C #DC7AB6 #E9ABD1

Accessibility & contrast

On white

4.11
#CF4A9C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#CF4A9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4A9C
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4A9C#FFFFFF#000000##000000
##CF4A9C1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#596F9E
Deuteranopia (green-blind)
#7F8699
Tritanopia (blue-blind)
#DC476C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf4a9c;
/* rgb */ color: rgb(207, 74, 156);
/* oklch */ color: oklch(61.5% 0.188 346.1);
Tailwind
colors: {
  custom: {
    50: '#e185b9',
    500: '#cf4a9c',
    950: '#000000',
  },
}
SCSS
$custom: #cf4a9c;
$custom-light: #e185b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4a9c",
  "rgb": {
    "r": 207,
    "g": 74,
    "b": 156
  },
  "hsl": {
    "h": 323.008,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61501,
    "c": 0.18799,
    "h": 346.1
  },
  "luminance": 0.20563
}

Semantic roles & 50–950 ramp

primary
#CF4A9C
secondary
#9FD6B4
accent
#E18246
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CF4A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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