#CF3BAB#CF3BAB

#CF3BAB is a mid, highly saturated pink. Relative luminance 0.193; OKLCH L 60.7% C 0.216 H 339.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CF3BAB
RGBrgb(207, 59, 171)
HSLhsl(315, 61%, 52%)
HSVhsv(315, 71%, 81%)
CMYKcmyk(0%, 71.5%, 17.4%, 18.8%)
CIE-LABlab(51.08, 68.04, -28.09)
CIE-LCHlch(51.08, 73.61, 337.56°)
OKLaboklab(60.68% 0.2023 -0.0759)
OKLCHoklch(60.68% 0.216 339.4)
XYZxyz(34.6476, 19.3369, 40.4278)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3BAB #3BCF5F
analogous
#A93BCF #CF3BAB #CF3B61
triadic
#CF3BAB #ABCF3B #3BABCF
tetradic
#CF3BAB #CFA93B #3BCF5F #3B61CF
square
#CF3BAB #CFA93B #3BCF5F #3B61CF
split-complementary
#CF3BAB #61CF3B #3BCFA9
monochromatic
#731C5E #A52886 #CF3BAB #DB6CC0 #E79DD5

Accessibility & contrast

On white

4.31
#CF3BAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CF3BAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF3BAB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3BAB#FFFFFF#000000##000000
##CF3BAB1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#446BAE
Deuteranopia (green-blind)
#7482A8
Tritanopia (blue-blind)
#DB406E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf3bab;
/* rgb */ color: rgb(207, 59, 171);
/* oklch */ color: oklch(60.7% 0.216 339.4);
Tailwind
colors: {
  custom: {
    50: '#e27ec4',
    500: '#cf3bab',
    950: '#000000',
  },
}
SCSS
$custom: #cf3bab;
$custom-light: #e27ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3bab",
  "rgb": {
    "r": 207,
    "g": 59,
    "b": 171
  },
  "hsl": {
    "h": 314.595,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60684,
    "c": 0.21609,
    "h": 339.4
  },
  "luminance": 0.19334
}

Semantic roles & 50–950 ramp

primary
#CF3BAB
secondary
#93D3A2
accent
#E46B44
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF3BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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