#CF3A9E#CF3A9E

#CF3A9E is a mid, highly saturated pink. Relative luminance 0.188; OKLCH L 60.0% C 0.209 H 344.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CF3A9E
RGBrgb(207, 58, 158)
HSLhsl(320, 61%, 52%)
HSVhsv(320, 72%, 81%)
CMYKcmyk(0%, 72%, 23.7%, 18.8%)
CIE-LABlab(50.41, 66.65, -21.46)
CIE-LCHlch(50.41, 70.02, 342.16°)
OKLaboklab(60.02% 0.2012 -0.0572)
OKLCHoklch(60.02% 0.209 344.1)
XYZxyz(33.4180, 18.7636, 34.2029)
Luminance0.1876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3A9E #3ACF6B
analogous
#B63ACF #CF3A9E #CF3A53
triadic
#CF3A9E #9ECF3A #3A9ECF
tetradic
#CF3A9E #CFB63A #3ACF6B #3A53CF
square
#CF3A9E #CFB63A #3ACF6B #3A53CF
split-complementary
#CF3A9E #53CF3A #3ACFB6
monochromatic
#731C56 #A4287B #CF3A9E #DB6BB6 #E79CCE

Accessibility & contrast

On white

4.42
#CF3A9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CF3A9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF3A9E
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3A9E#FFFFFF#000000##000000
##CF3A9E1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B68A1
Deuteranopia (green-blind)
#78819B
Tritanopia (blue-blind)
#DC3967
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf3a9e;
/* rgb */ color: rgb(207, 58, 158);
/* oklch */ color: oklch(60.0% 0.209 344.1);
Tailwind
colors: {
  custom: {
    50: '#e27dba',
    500: '#cf3a9e',
    950: '#000000',
  },
}
SCSS
$custom: #cf3a9e;
$custom-light: #e27dba;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3a9e",
  "rgb": {
    "r": 207,
    "g": 58,
    "b": 158
  },
  "hsl": {
    "h": 319.732,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60018,
    "c": 0.20917,
    "h": 344.1
  },
  "luminance": 0.1876
}

Semantic roles & 50–950 ramp

primary
#CF3A9E
secondary
#92D3A7
accent
#E47944
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CF3A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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