#CF4178#CF4178

#CF4178 is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.3% C 0.183 H 0.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CF4178
RGBrgb(207, 65, 120)
HSLhsl(337, 60%, 53%)
HSVhsv(337, 69%, 81%)
CMYKcmyk(0%, 68.6%, 42%, 18.8%)
CIE-LABlab(49.98, 59.81, 0.68)
CIE-LCHlch(49.98, 59.82, 0.65°)
OKLaboklab(59.27% 0.1832 0.0025)
OKLCHoklch(59.27% 0.183 0.8)
XYZxyz(31.0148, 18.4059, 19.6851)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4178 #41CF98
analogous
#CF41BF #CF4178 #CF5141
triadic
#CF4178 #78CF41 #4178CF
tetradic
#CF4178 #BFCF41 #41CF98 #5141CF
square
#CF4178 #BFCF41 #41CF98 #5141CF
split-complementary
#CF4178 #41CF51 #41BFCF
monochromatic
#771E41 #A82B5B #CF4178 #DB729B #E8A3BD

Accessibility & contrast

On white

4.49
#CF4178 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#CF4178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4178
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4178#FFFFFF#000000##000000
##CF41781.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6679
Deuteranopia (green-blind)
#848175
Tritanopia (blue-blind)
#E02F58
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf4178;
/* rgb */ color: rgb(207, 65, 120);
/* oklch */ color: oklch(59.3% 0.183 0.8);
Tailwind
colors: {
  custom: {
    50: '#e37f9e',
    500: '#cf4178',
    950: '#000000',
  },
}
SCSS
$custom: #cf4178;
$custom-light: #e37f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4178",
  "rgb": {
    "r": 207,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 336.761,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59274,
    "c": 0.18319,
    "h": 0.8
  },
  "luminance": 0.18402
}

Semantic roles & 50–950 ramp

primary
#CF4178
secondary
#97D4BD
accent
#E3A645
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF4178

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

Preview Lab → · Contrast checker → · Palette generator →

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