#CF3A9A#CF3A9A

#CF3A9A is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 59.8% C 0.207 H 345.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CF3A9A
RGBrgb(207, 58, 154)
HSLhsl(321, 61%, 52%)
HSVhsv(321, 72%, 81%)
CMYKcmyk(0%, 72%, 25.6%, 18.8%)
CIE-LABlab(50.25, 66.15, -19.33)
CIE-LCHlch(50.25, 68.91, 343.71°)
OKLaboklab(59.85% 0.2004 -0.0513)
OKLCHoklch(59.85% 0.207 345.6)
XYZxyz(33.0793, 18.6281, 32.4191)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3A9A #3ACF6F
analogous
#B93ACF #CF3A9A #CF3A50
triadic
#CF3A9A #9ACF3A #3A9ACF
tetradic
#CF3A9A #CFB93A #3ACF6F #3A50CF
square
#CF3A9A #CFB93A #3ACF6F #3A50CF
split-complementary
#CF3A9A #50CF3A #3ACFB9
monochromatic
#731C54 #A42878 #CF3A9A #DB6BB3 #E79CCC

Accessibility & contrast

On white

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

On black

4.72
#CF3A9A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF3A9A
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3A9A#FFFFFF#000000##000000
##CF3A9A1.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D679D
Deuteranopia (green-blind)
#798197
Tritanopia (blue-blind)
#DD3765
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf3a9a;
/* rgb */ color: rgb(207, 58, 154);
/* oklch */ color: oklch(59.8% 0.207 345.6);
Tailwind
colors: {
  custom: {
    50: '#e27db8',
    500: '#cf3a9a',
    950: '#000000',
  },
}
SCSS
$custom: #cf3a9a;
$custom-light: #e27db8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3a9a",
  "rgb": {
    "r": 207,
    "g": 58,
    "b": 154
  },
  "hsl": {
    "h": 321.342,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59849,
    "c": 0.20685,
    "h": 345.6
  },
  "luminance": 0.18625
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF3A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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