#CF3A9B#CF3A9B

#CF3A9B is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 59.9% C 0.207 H 345.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CF3A9B
RGBrgb(207, 58, 155)
HSLhsl(321, 61%, 52%)
HSVhsv(321, 72%, 81%)
CMYKcmyk(0%, 72%, 25.1%, 18.8%)
CIE-LABlab(50.29, 66.27, -19.86)
CIE-LCHlch(50.29, 69.18, 343.32°)
OKLaboklab(59.89% 0.2006 -0.0528)
OKLCHoklch(59.89% 0.207 345.3)
XYZxyz(33.1629, 18.6616, 32.8596)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3A9B #3ACF6E
analogous
#B93ACF #CF3A9B #CF3A51
triadic
#CF3A9B #9BCF3A #3A9BCF
tetradic
#CF3A9B #CFB93A #3ACF6E #3A51CF
square
#CF3A9B #CFB93A #3ACF6E #3A51CF
split-complementary
#CF3A9B #51CF3A #3ACFB9
monochromatic
#731C54 #A42879 #CF3A9B #DB6BB4 #E79CCD

Accessibility & contrast

On white

4.44
#CF3A9B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CF3A9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF3A9B
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3A9B#FFFFFF#000000##000000
##CF3A9B1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C689E
Deuteranopia (green-blind)
#798198
Tritanopia (blue-blind)
#DD3766
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf3a9b;
/* rgb */ color: rgb(207, 58, 155);
/* oklch */ color: oklch(59.9% 0.207 345.3);
Tailwind
colors: {
  custom: {
    50: '#e27db8',
    500: '#cf3a9b',
    950: '#000000',
  },
}
SCSS
$custom: #cf3a9b;
$custom-light: #e27db8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3a9b",
  "rgb": {
    "r": 207,
    "g": 58,
    "b": 155
  },
  "hsl": {
    "h": 320.94,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5989,
    "c": 0.20743,
    "h": 345.3
  },
  "luminance": 0.18658
}

Semantic roles & 50–950 ramp

primary
#CF3A9B
secondary
#92D3A9
accent
#E47C44
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CF3A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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