#CF4A9B#CF4A9B

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

Color values

HEX#CF4A9B
RGBrgb(207, 74, 155)
HSLhsl(323, 58%, 55%)
HSVhsv(323, 64%, 81%)
CMYKcmyk(0%, 64.3%, 25.1%, 18.8%)
CIE-LABlab(52.43, 60.30, -16.58)
CIE-LCHlch(52.43, 62.54, 344.62°)
OKLaboklab(61.46% 0.1822 -0.0438)
OKLCHoklch(61.46% 0.187 346.5)
XYZxyz(34.0986, 20.5329, 33.1715)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4A9B #4ACF7E
analogous
#C14ACF #CF4A9B #CF4A58
triadic
#CF4A9B #9BCF4A #4A9BCF
tetradic
#CF4A9B #CFC14A #4ACF7E #4A58CF
square
#CF4A9B #CFC14A #4ACF7E #4A58CF
split-complementary
#CF4A9B #58CF4A #4ACFC1
monochromatic
#7D2159 #AE2E7C #CF4A9B #DC7AB6 #E9ABD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF4A9B#FFFFFF#000000##000000
##CF4A9B1.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)
#596F9D
Deuteranopia (green-blind)
#7F8598
Tritanopia (blue-blind)
#DD476C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf4a9b;
/* rgb */ color: rgb(207, 74, 155);
/* oklch */ color: oklch(61.5% 0.187 346.5);
Tailwind
colors: {
  custom: {
    50: '#e185b8',
    500: '#cf4a9b',
    950: '#000000',
  },
}
SCSS
$custom: #cf4a9b;
$custom-light: #e185b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4a9b",
  "rgb": {
    "r": 207,
    "g": 74,
    "b": 155
  },
  "hsl": {
    "h": 323.459,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61461,
    "c": 0.18741,
    "h": 346.5
  },
  "luminance": 0.2053
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF4A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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