#CF4174#CF4174

#CF4174 is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.2% C 0.182 H 2.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CF4174
RGBrgb(207, 65, 116)
HSLhsl(338, 60%, 53%)
HSVhsv(338, 69%, 81%)
CMYKcmyk(0%, 68.6%, 44%, 18.8%)
CIE-LABlab(49.87, 59.42, 2.93)
CIE-LCHlch(49.87, 59.49, 2.82°)
OKLaboklab(59.15% 0.1818 0.0082)
OKLCHoklch(59.15% 0.182 2.6)
XYZxyz(30.7771, 18.3108, 18.4332)
Luminance0.1831 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4174 #41CF9C
analogous
#CF41BB #CF4174 #CF5541
triadic
#CF4174 #74CF41 #4174CF
tetradic
#CF4174 #BBCF41 #41CF9C #5541CF
square
#CF4174 #BBCF41 #41CF9C #5541CF
split-complementary
#CF4174 #41CF55 #41BBCF
monochromatic
#771E3E #A82B58 #CF4174 #DB7298 #E8A3BB

Accessibility & contrast

On white

4.51
#CF4174 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#CF4174 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4174
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4174#FFFFFF#000000##000000
##CF41741.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6575
Deuteranopia (green-blind)
#858171
Tritanopia (blue-blind)
#E02D56
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf4174;
/* rgb */ color: rgb(207, 65, 116);
/* oklch */ color: oklch(59.2% 0.182 2.6);
Tailwind
colors: {
  custom: {
    50: '#e37f9b',
    500: '#cf4174',
    950: '#000000',
  },
}
SCSS
$custom: #cf4174;
$custom-light: #e37f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4174",
  "rgb": {
    "r": 207,
    "g": 65,
    "b": 116
  },
  "hsl": {
    "h": 338.451,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59152,
    "c": 0.18199,
    "h": 2.6
  },
  "luminance": 0.18307
}

Semantic roles & 50–950 ramp

primary
#CF4174
secondary
#97D4BE
accent
#E3AA45
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF4174

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

Preview Lab → · Contrast checker → · Palette generator →

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