#CF335F#CF335F

#CF335F is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.3% C 0.192 H 9.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CF335F
RGBrgb(207, 51, 95)
HSLhsl(343, 62%, 51%)
HSVhsv(343, 75%, 81%)
CMYKcmyk(0%, 75.4%, 54.1%, 18.8%)
CIE-LABlab(47.58, 62.51, 12.47)
CIE-LCHlch(47.58, 63.74, 11.29°)
OKLaboklab(57.28% 0.1898 0.0317)
OKLCHoklch(57.28% 0.192 9.5)
XYZxyz(28.9842, 16.4634, 12.4758)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF335F #33CFA3
analogous
#CF33AD #CF335F #CF5533
triadic
#CF335F #5FCF33 #335FCF
tetradic
#CF335F #ADCF33 #33CFA3 #5533CF
square
#CF335F #ADCF33 #33CFA3 #5533CF
split-complementary
#CF335F #33CF55 #33ADCF
monochromatic
#6E1A32 #9F2548 #CF335F #DB6586 #E696AD

Accessibility & contrast

On white

4.89
#CF335F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#CF335F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF335F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF335F#FFFFFF#000000##FFFFFF
##CF335F1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5D60
Deuteranopia (green-blind)
#847C5B
Tritanopia (blue-blind)
#E20046
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cf335f;
/* rgb */ color: rgb(207, 51, 95);
/* oklch */ color: oklch(57.3% 0.192 9.5);
Tailwind
colors: {
  custom: {
    50: '#e4788c',
    500: '#cf335f',
    950: '#000000',
  },
}
SCSS
$custom: #cf335f;
$custom-light: #e4788c;
$custom-dark: #000000;
JSON
{
  "hex": "#cf335f",
  "rgb": {
    "r": 207,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 343.077,
    "s": 61.905,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5728,
    "c": 0.19246,
    "h": 9.5
  },
  "luminance": 0.16459
}

Semantic roles & 50–950 ramp

primary
#CF335F
secondary
#8CD2BE
accent
#E5B743
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #CF335F

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

Preview Lab → · Contrast checker → · Palette generator →

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