#CF3F8B#CF3F8B

#CF3F8B is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.7% C 0.193 H 352.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CF3F8B
RGBrgb(207, 63, 139)
HSLhsl(328, 60%, 53%)
HSVhsv(328, 70%, 81%)
CMYKcmyk(0%, 69.6%, 32.9%, 18.8%)
CIE-LABlab(50.32, 62.59, -10.26)
CIE-LCHlch(50.32, 63.43, 350.69°)
OKLaboklab(59.72% 0.1913 -0.0265)
OKLCHoklch(59.72% 0.193 352.1)
XYZxyz(32.1716, 18.6882, 26.3340)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3F8B #3FCF83
analogous
#CB3FCF #CF3F8B #CF3F43
triadic
#CF3F8B #8BCF3F #3F8BCF
tetradic
#CF3F8B #CFCB3F #3FCF83 #3F43CF
square
#CF3F8B #CFCB3F #3FCF83 #3F43CF
split-complementary
#CF3F8B #43CF3F #3FCFCB
monochromatic
#761E4C #A72A6C #CF3F8B #DB70A9 #E7A1C6

Accessibility & contrast

On white

4.43
#CF3F8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CF3F8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF3F8B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3F8B#FFFFFF#000000##000000
##CF3F8B1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#57678D
Deuteranopia (green-blind)
#7F8188
Tritanopia (blue-blind)
#DE3560
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf3f8b;
/* rgb */ color: rgb(207, 63, 139);
/* oklch */ color: oklch(59.7% 0.193 352.1);
Tailwind
colors: {
  custom: {
    50: '#e27fac',
    500: '#cf3f8b',
    950: '#000000',
  },
}
SCSS
$custom: #cf3f8b;
$custom-light: #e27fac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3f8b",
  "rgb": {
    "r": 207,
    "g": 63,
    "b": 139
  },
  "hsl": {
    "h": 328.333,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59719,
    "c": 0.19315,
    "h": 352.1
  },
  "luminance": 0.18684
}

Semantic roles & 50–950 ramp

primary
#CF3F8B
secondary
#96D4B3
accent
#E38F45
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CF3F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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