#CF368E#CF368E

#CF368E is a mid, highly saturated pink. Relative luminance 0.179; OKLCH L 59.0% C 0.205 H 350.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CF368E
RGBrgb(207, 54, 142)
HSLhsl(325, 61%, 51%)
HSVhsv(325, 74%, 81%)
CMYKcmyk(0%, 73.9%, 31.4%, 18.8%)
CIE-LABlab(49.33, 66.02, -13.56)
CIE-LCHlch(49.33, 67.40, 348.39°)
OKLaboklab(59.03% 0.2018 -0.0354)
OKLCHoklch(59.03% 0.205 350.1)
XYZxyz(31.9355, 17.8604, 27.3516)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF368E #36CF77
analogous
#C336CF #CF368E #CF3641
triadic
#CF368E #8ECF36 #368ECF
tetradic
#CF368E #CFC336 #36CF77 #3641CF
square
#CF368E #CFC336 #36CF77 #3641CF
split-complementary
#CF368E #41CF36 #36CFC3
monochromatic
#701B4C #A1276D #CF368E #DB67AA #E799C6

Accessibility & contrast

On white

4.59
#CF368E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#CF368E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CF368E
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF368E#FFFFFF#000000##FFFFFF
##CF368E1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6490
Deuteranopia (green-blind)
#7B7F8B
Tritanopia (blue-blind)
#DE2C5D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cf368e;
/* rgb */ color: rgb(207, 54, 142);
/* oklch */ color: oklch(59.0% 0.205 350.1);
Tailwind
colors: {
  custom: {
    50: '#e27baf',
    500: '#cf368e',
    950: '#000000',
  },
}
SCSS
$custom: #cf368e;
$custom-light: #e27baf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf368e",
  "rgb": {
    "r": 207,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 325.49,
    "s": 61.446,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59026,
    "c": 0.20487,
    "h": 350.1
  },
  "luminance": 0.17857
}

Semantic roles & 50–950 ramp

primary
#CF368E
secondary
#8FD2AB
accent
#E58843
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CF368E

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

Preview Lab → · Contrast checker → · Palette generator →

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