#CF3A9C#CF3A9C

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

Color values

HEX#CF3A9C
RGBrgb(207, 58, 156)
HSLhsl(321, 61%, 52%)
HSVhsv(321, 72%, 81%)
CMYKcmyk(0%, 72%, 24.6%, 18.8%)
CIE-LABlab(50.33, 66.40, -20.39)
CIE-LCHlch(50.33, 69.46, 342.93°)
OKLaboklab(59.93% 0.2008 -0.0543)
OKLCHoklch(59.93% 0.208 344.9)
XYZxyz(33.2473, 18.6953, 33.3037)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3A9C #3ACF6D
analogous
#B83ACF #CF3A9C #CF3A52
triadic
#CF3A9C #9CCF3A #3A9CCF
tetradic
#CF3A9C #CFB83A #3ACF6D #3A52CF
square
#CF3A9C #CFB83A #3ACF6D #3A52CF
split-complementary
#CF3A9C #52CF3A #3ACFB8
monochromatic
#731C55 #A42879 #CF3A9C #DB6BB5 #E79CCD

Accessibility & contrast

On white

4.43
#CF3A9C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CF3A9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF3A9C
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3A9C#FFFFFF#000000##000000
##CF3A9C1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C689F
Deuteranopia (green-blind)
#798199
Tritanopia (blue-blind)
#DD3866
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf3a9c;
/* rgb */ color: rgb(207, 58, 156);
/* oklch */ color: oklch(59.9% 0.208 344.9);
Tailwind
colors: {
  custom: {
    50: '#e27db9',
    500: '#cf3a9c',
    950: '#000000',
  },
}
SCSS
$custom: #cf3a9c;
$custom-light: #e27db9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3a9c",
  "rgb": {
    "r": 207,
    "g": 58,
    "b": 156
  },
  "hsl": {
    "h": 320.537,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59933,
    "c": 0.208,
    "h": 344.9
  },
  "luminance": 0.18692
}

Semantic roles & 50–950 ramp

primary
#CF3A9C
secondary
#92D3A8
accent
#E47B44
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CF3A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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