#CF3FB7#CF3FB7

#CF3FB7 is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.6% C 0.220 H 335.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CF3FB7
RGBrgb(207, 63, 183)
HSLhsl(310, 60%, 53%)
HSVhsv(310, 70%, 81%)
CMYKcmyk(0%, 69.6%, 11.6%, 18.8%)
CIE-LABlab(52.11, 68.38, -33.50)
CIE-LCHlch(52.11, 76.14, 333.90°)
OKLaboklab(61.61% 0.1997 -0.0914)
OKLCHoklch(61.61% 0.22 335.4)
XYZxyz(36.0573, 20.2424, 46.7987)
Luminance0.2024 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3FB7 #3FCF57
analogous
#9F3FCF #CF3FB7 #CF3F6F
triadic
#CF3FB7 #B7CF3F #3FB7CF
tetradic
#CF3FB7 #CF9F3F #3FCF57 #3F6FCF
square
#CF3FB7 #CF9F3F #3FCF57 #3F6FCF
split-complementary
#CF3FB7 #6FCF3F #3FCF9F
monochromatic
#761E67 #A72A92 #CF3FB7 #DB70C9 #E7A1DC

Accessibility & contrast

On white

4.16
#CF3FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CF3FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF3FB7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3FB7#FFFFFF#000000##000000
##CF3FB71.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6FBA
Deuteranopia (green-blind)
#7184B3
Tritanopia (blue-blind)
#D94976
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf3fb7;
/* rgb */ color: rgb(207, 63, 183);
/* oklch */ color: oklch(61.6% 0.220 335.4);
Tailwind
colors: {
  custom: {
    50: '#e180cd',
    500: '#cf3fb7',
    950: '#000000',
  },
}
SCSS
$custom: #cf3fb7;
$custom-light: #e180cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3fb7",
  "rgb": {
    "r": 207,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 310,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61608,
    "c": 0.21959,
    "h": 335.4
  },
  "luminance": 0.20239
}

Semantic roles & 50–950 ramp

primary
#CF3FB7
secondary
#96D4A0
accent
#E35F45
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF3FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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