#CF366F#CF366F

#CF366F is a mid, vivid pink. Relative luminance 0.171; OKLCH L 58.0% C 0.193 H 3.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CF366F
RGBrgb(207, 54, 111)
HSLhsl(338, 61%, 51%)
HSVhsv(338, 74%, 81%)
CMYKcmyk(0%, 73.9%, 46.4%, 18.8%)
CIE-LABlab(48.33, 62.86, 3.74)
CIE-LCHlch(48.33, 62.97, 3.41°)
OKLaboklab(57.97% 0.1925 0.0103)
OKLCHoklch(57.97% 0.193 3.1)
XYZxyz(29.9230, 17.0554, 16.7522)
Luminance0.1705 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF366F #36CF96
analogous
#CF36BB #CF366F #CF4936
triadic
#CF366F #6FCF36 #366FCF
tetradic
#CF366F #BBCF36 #36CF96 #4936CF
square
#CF366F #BBCF36 #36CF96 #4936CF
split-complementary
#CF366F #36CF49 #36BBCF
monochromatic
#701B3A #A12754 #CF366F #DB6792 #E799B6

Accessibility & contrast

On white

4.76
#CF366F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#CF366F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF366F
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF366F#FFFFFF#000000##FFFFFF
##CF366F1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6070
Deuteranopia (green-blind)
#827E6B
Tritanopia (blue-blind)
#E1184E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cf366f;
/* rgb */ color: rgb(207, 54, 111);
/* oklch */ color: oklch(58.0% 0.193 3.1);
Tailwind
colors: {
  custom: {
    50: '#e47a98',
    500: '#cf366f',
    950: '#000000',
  },
}
SCSS
$custom: #cf366f;
$custom-light: #e47a98;
$custom-dark: #000000;
JSON
{
  "hex": "#cf366f",
  "rgb": {
    "r": 207,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 337.647,
    "s": 61.446,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57969,
    "c": 0.19281,
    "h": 3.1
  },
  "luminance": 0.17051
}

Semantic roles & 50–950 ramp

primary
#CF366F
secondary
#8FD2B9
accent
#E5A843
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CF366F

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

Preview Lab → · Contrast checker → · Palette generator →

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