#CF3CAF#CF3CAF

#CF3CAF is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 61.0% C 0.218 H 338.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CF3CAF
RGBrgb(207, 60, 175)
HSLhsl(313, 60%, 52%)
HSVhsv(313, 71%, 81%)
CMYKcmyk(0%, 71%, 15.5%, 18.8%)
CIE-LABlab(51.38, 68.26, -29.98)
CIE-LCHlch(51.38, 74.55, 336.29°)
OKLaboklab(60.96% 0.2018 -0.0813)
OKLCHoklch(60.96% 0.218 338.1)
XYZxyz(35.0866, 19.5955, 42.4836)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3CAF #3CCF5C
analogous
#A53CCF #CF3CAF #CF3C66
triadic
#CF3CAF #AFCF3C #3CAFCF
tetradic
#CF3CAF #CFA53C #3CCF5C #3C66CF
square
#CF3CAF #CFA53C #3CCF5C #3C66CF
split-complementary
#CF3CAF #66CF3C #3CCFA5
monochromatic
#741D61 #A5298A #CF3CAF #DB6DC3 #E79ED7

Accessibility & contrast

On white

4.27
#CF3CAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CF3CAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF3CAF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3CAF#FFFFFF#000000##000000
##CF3CAF1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#426CB2
Deuteranopia (green-blind)
#7383AC
Tritanopia (blue-blind)
#DA4371
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf3caf;
/* rgb */ color: rgb(207, 60, 175);
/* oklch */ color: oklch(61.0% 0.218 338.1);
Tailwind
colors: {
  custom: {
    50: '#e27fc7',
    500: '#cf3caf',
    950: '#000000',
  },
}
SCSS
$custom: #cf3caf;
$custom-light: #e27fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3caf",
  "rgb": {
    "r": 207,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 313.061,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60958,
    "c": 0.21759,
    "h": 338.1
  },
  "luminance": 0.19592
}

Semantic roles & 50–950 ramp

primary
#CF3CAF
secondary
#93D3A1
accent
#E46744
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF3CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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