#CF4074#CF4074

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

Color values

HEX#CF4074
RGBrgb(207, 64, 116)
HSLhsl(338, 60%, 53%)
HSVhsv(338, 69%, 81%)
CMYKcmyk(0%, 69.1%, 44%, 18.8%)
CIE-LABlab(49.73, 59.80, 2.73)
CIE-LCHlch(49.73, 59.86, 2.62°)
OKLaboklab(59.05% 0.183 0.0077)
OKLCHoklch(59.05% 0.183 2.4)
XYZxyz(30.7202, 18.1970, 18.4143)
Luminance0.1819 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4074 #40CF9B
analogous
#CF40BB #CF4074 #CF5340
triadic
#CF4074 #74CF40 #4074CF
tetradic
#CF4074 #BBCF40 #40CF9B #5340CF
square
#CF4074 #BBCF40 #40CF9B #5340CF
split-complementary
#CF4074 #40CF53 #40BBCF
monochromatic
#771E3E #A82A58 #CF4074 #DB7198 #E8A2BB

Accessibility & contrast

On white

4.53
#CF4074 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#CF4074 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4074
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4074#FFFFFF#000000##000000
##CF40741.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6575
Deuteranopia (green-blind)
#858071
Tritanopia (blue-blind)
#E02B55
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cf4074;
/* rgb */ color: rgb(207, 64, 116);
/* oklch */ color: oklch(59.1% 0.183 2.4);
Tailwind
colors: {
  custom: {
    50: '#e37f9b',
    500: '#cf4074',
    950: '#000000',
  },
}
SCSS
$custom: #cf4074;
$custom-light: #e37f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4074",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 116
  },
  "hsl": {
    "h": 338.182,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59051,
    "c": 0.18317,
    "h": 2.4
  },
  "luminance": 0.18193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF4074

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

Preview Lab → · Contrast checker → · Palette generator →

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