#CF345C#CF345C

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

Color values

HEX#CF345C
RGBrgb(207, 52, 92)
HSLhsl(345, 62%, 51%)
HSVhsv(345, 75%, 81%)
CMYKcmyk(0%, 74.9%, 55.6%, 18.8%)
CIE-LABlab(47.62, 61.97, 14.38)
CIE-LCHlch(47.62, 63.61, 13.06°)
OKLaboklab(57.29% 0.1877 0.0362)
OKLCHoklch(57.29% 0.191 10.9)
XYZxyz(28.8947, 16.4982, 11.7861)
Luminance0.1649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF345C #34CFA7
analogous
#CF34A9 #CF345C #CF5934
triadic
#CF345C #5CCF34 #345CCF
tetradic
#CF345C #A9CF34 #34CFA7 #5934CF
square
#CF345C #A9CF34 #34CFA7 #5934CF
split-complementary
#CF345C #34CF59 #34A9CF
monochromatic
#6E1A30 #A02645 #CF345C #DB6584 #E697AB

Accessibility & contrast

On white

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

On black

4.30
#CF345C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CF345C#FFFFFF#000000##FFFFFF
##CF345C1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5D5D
Deuteranopia (green-blind)
#857C58
Tritanopia (blue-blind)
#E20045
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cf345c;
/* rgb */ color: rgb(207, 52, 92);
/* oklch */ color: oklch(57.3% 0.191 10.9);
Tailwind
colors: {
  custom: {
    50: '#e57989',
    500: '#cf345c',
    950: '#000000',
  },
}
SCSS
$custom: #cf345c;
$custom-light: #e57989;
$custom-dark: #000000;
JSON
{
  "hex": "#cf345c",
  "rgb": {
    "r": 207,
    "g": 52,
    "b": 92
  },
  "hsl": {
    "h": 344.516,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57291,
    "c": 0.19113,
    "h": 10.9
  },
  "luminance": 0.16494
}

Semantic roles & 50–950 ramp

primary
#CF345C
secondary
#8DD2C0
accent
#E5BB43
background
#FFF7F8
surface
#FEEEF0
border
#D6C9CB
text
#170A0B
muted
#857C7C

Preview Lab

Preview with #CF345C

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

Preview Lab → · Contrast checker → · Palette generator →

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