#CF3A9F#CF3A9F

#CF3A9F is a mid, highly saturated pink. Relative luminance 0.188; OKLCH L 60.1% C 0.210 H 343.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CF3A9F
RGBrgb(207, 58, 159)
HSLhsl(319, 61%, 52%)
HSVhsv(319, 72%, 81%)
CMYKcmyk(0%, 72%, 23.2%, 18.8%)
CIE-LABlab(50.45, 66.78, -21.99)
CIE-LCHlch(50.45, 70.31, 341.78°)
OKLaboklab(60.06% 0.2014 -0.0587)
OKLCHoklch(60.06% 0.21 343.7)
XYZxyz(33.5044, 18.7982, 34.6581)
Luminance0.1880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3A9F #3ACF6A
analogous
#B53ACF #CF3A9F #CF3A55
triadic
#CF3A9F #9FCF3A #3A9FCF
tetradic
#CF3A9F #CFB53A #3ACF6A #3A55CF
square
#CF3A9F #CFB53A #3ACF6A #3A55CF
split-complementary
#CF3A9F #55CF3A #3ACFB5
monochromatic
#731C57 #A4287C #CF3A9F #DB6BB7 #E79CCF

Accessibility & contrast

On white

4.41
#CF3A9F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CF3A9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF3A9F
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3A9F#FFFFFF#000000##000000
##CF3A9F1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A68A2
Deuteranopia (green-blind)
#78819C
Tritanopia (blue-blind)
#DC3A68
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf3a9f;
/* rgb */ color: rgb(207, 58, 159);
/* oklch */ color: oklch(60.1% 0.210 343.7);
Tailwind
colors: {
  custom: {
    50: '#e27dbb',
    500: '#cf3a9f',
    950: '#000000',
  },
}
SCSS
$custom: #cf3a9f;
$custom-light: #e27dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3a9f",
  "rgb": {
    "r": 207,
    "g": 58,
    "b": 159
  },
  "hsl": {
    "h": 319.329,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60061,
    "c": 0.20976,
    "h": 343.7
  },
  "luminance": 0.18795
}

Semantic roles & 50–950 ramp

primary
#CF3A9F
secondary
#92D3A7
accent
#E47744
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF3A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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