#CF3BAF#CF3BAF

#CF3BAF is a mid, highly saturated pink. Relative luminance 0.195; OKLCH L 60.9% C 0.219 H 338.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CF3BAF
RGBrgb(207, 59, 175)
HSLhsl(313, 61%, 52%)
HSVhsv(313, 71%, 81%)
CMYKcmyk(0%, 71.5%, 15.5%, 18.8%)
CIE-LABlab(51.26, 68.60, -30.16)
CIE-LCHlch(51.26, 74.94, 336.26°)
OKLaboklab(60.87% 0.2028 -0.0818)
OKLCHoklch(60.87% 0.219 338)
XYZxyz(35.0347, 19.4917, 42.4663)
Luminance0.1949 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3BAF #3BCF5B
analogous
#A53BCF #CF3BAF #CF3B65
triadic
#CF3BAF #AFCF3B #3BAFCF
tetradic
#CF3BAF #CFA53B #3BCF5B #3B65CF
square
#CF3BAF #CFA53B #3BCF5B #3B65CF
split-complementary
#CF3BAF #65CF3B #3BCFA5
monochromatic
#731C61 #A5288A #CF3BAF #DB6CC3 #E79DD7

Accessibility & contrast

On white

4.29
#CF3BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#CF3BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF3BAF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3BAF#FFFFFF#000000##000000
##CF3BAF1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#416BB2
Deuteranopia (green-blind)
#7282AB
Tritanopia (blue-blind)
#DA4270
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf3baf;
/* rgb */ color: rgb(207, 59, 175);
/* oklch */ color: oklch(60.9% 0.219 338.0);
Tailwind
colors: {
  custom: {
    50: '#e27ec7',
    500: '#cf3baf',
    950: '#000000',
  },
}
SCSS
$custom: #cf3baf;
$custom-light: #e27ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3baf",
  "rgb": {
    "r": 207,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 312.973,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60871,
    "c": 0.21872,
    "h": 338
  },
  "luminance": 0.19488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF3BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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