#CF336A#CF336A

#CF336A is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.6% C 0.195 H 4.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#CF336A
RGBrgb(207, 51, 106)
HSLhsl(339, 62%, 51%)
HSVhsv(339, 75%, 81%)
CMYKcmyk(0%, 75.4%, 48.8%, 18.8%)
CIE-LABlab(47.85, 63.39, 6.12)
CIE-LCHlch(47.85, 63.68, 5.51°)
OKLaboklab(57.57% 0.1939 0.0162)
OKLCHoklch(57.57% 0.195 4.8)
XYZxyz(29.5200, 16.6777, 15.2975)
Luminance0.1667 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF336A #33CF98
analogous
#CF33B8 #CF336A #CF4A33
triadic
#CF336A #6ACF33 #336ACF
tetradic
#CF336A #B8CF33 #33CF98 #4A33CF
square
#CF336A #B8CF33 #33CF98 #4A33CF
split-complementary
#CF336A #33CF4A #33B8CF
monochromatic
#6E1A37 #9F2550 #CF336A #DB658E #E696B2

Accessibility & contrast

On white

4.84
#CF336A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#CF336A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF336A
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF336A#FFFFFF#000000##FFFFFF
##CF336A1.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595E6B
Deuteranopia (green-blind)
#827D66
Tritanopia (blue-blind)
#E10A4B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cf336a;
/* rgb */ color: rgb(207, 51, 106);
/* oklch */ color: oklch(57.6% 0.195 4.8);
Tailwind
colors: {
  custom: {
    50: '#e47994',
    500: '#cf336a',
    950: '#000000',
  },
}
SCSS
$custom: #cf336a;
$custom-light: #e47994;
$custom-dark: #000000;
JSON
{
  "hex": "#cf336a",
  "rgb": {
    "r": 207,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 338.846,
    "s": 61.905,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57572,
    "c": 0.19456,
    "h": 4.8
  },
  "luminance": 0.16674
}

Semantic roles & 50–950 ramp

primary
#CF336A
secondary
#8CD2B9
accent
#E5AC43
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CF336A

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

Preview Lab → · Contrast checker → · Palette generator →

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