#CF345F#CF345F

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

Color values

HEX#CF345F
RGBrgb(207, 52, 95)
HSLhsl(343, 62%, 51%)
HSVhsv(343, 75%, 81%)
CMYKcmyk(0%, 74.9%, 54.1%, 18.8%)
CIE-LABlab(47.69, 62.19, 12.63)
CIE-LCHlch(47.69, 63.46, 11.48°)
OKLaboklab(57.36% 0.1888 0.0321)
OKLCHoklch(57.36% 0.192 9.6)
XYZxyz(29.0284, 16.5517, 12.4905)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF345F #34CFA4
analogous
#CF34AC #CF345F #CF5634
triadic
#CF345F #5FCF34 #345FCF
tetradic
#CF345F #ACCF34 #34CFA4 #5634CF
square
#CF345F #ACCF34 #34CFA4 #5634CF
split-complementary
#CF345F #34CF56 #34ACCF
monochromatic
#6E1A32 #A02648 #CF345F #DB6586 #E697AD

Accessibility & contrast

On white

4.87
#CF345F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#CF345F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF345F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF345F#FFFFFF#000000##FFFFFF
##CF345F1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf345f;
/* rgb */ color: rgb(207, 52, 95);
/* oklch */ color: oklch(57.4% 0.192 9.6);
Tailwind
colors: {
  custom: {
    50: '#e4798c',
    500: '#cf345f',
    950: '#000000',
  },
}
SCSS
$custom: #cf345f;
$custom-light: #e4798c;
$custom-dark: #000000;
JSON
{
  "hex": "#cf345f",
  "rgb": {
    "r": 207,
    "g": 52,
    "b": 95
  },
  "hsl": {
    "h": 343.355,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57364,
    "c": 0.19152,
    "h": 9.6
  },
  "luminance": 0.16548
}

Semantic roles & 50–950 ramp

primary
#CF345F
secondary
#8DD2BF
accent
#E5B843
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #CF345F

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

Preview Lab → · Contrast checker → · Palette generator →

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