#CF4274#CF4274

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

Color values

HEX#CF4274
RGBrgb(207, 66, 116)
HSLhsl(339, 59%, 54%)
HSVhsv(339, 68%, 81%)
CMYKcmyk(0%, 68.1%, 44%, 18.8%)
CIE-LABlab(50.01, 59.04, 3.13)
CIE-LCHlch(50.01, 59.12, 3.04°)
OKLaboklab(59.26% 0.1806 0.0087)
OKLCHoklch(59.26% 0.181 2.8)
XYZxyz(30.8350, 18.4266, 18.4525)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4274 #42CF9D
analogous
#CF42BB #CF4274 #CF5642
triadic
#CF4274 #74CF42 #4274CF
tetradic
#CF4274 #BBCF42 #42CF9D #5642CF
square
#CF4274 #BBCF42 #42CF9D #5642CF
split-complementary
#CF4274 #42CF56 #42BBCF
monochromatic
#781F3E #A92B58 #CF4274 #DB7398 #E8A4BC

Accessibility & contrast

On white

4.48
#CF4274 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF4274#FFFFFF#000000##000000
##CF42741.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#606675
Deuteranopia (green-blind)
#858171
Tritanopia (blue-blind)
#E02E56
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf4274;
/* rgb */ color: rgb(207, 66, 116);
/* oklch */ color: oklch(59.3% 0.181 2.8);
Tailwind
colors: {
  custom: {
    50: '#e3809b',
    500: '#cf4274',
    950: '#000000',
  },
}
SCSS
$custom: #cf4274;
$custom-light: #e3809b;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4274",
  "rgb": {
    "r": 207,
    "g": 66,
    "b": 116
  },
  "hsl": {
    "h": 338.723,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59255,
    "c": 0.1808,
    "h": 2.8
  },
  "luminance": 0.18423
}

Semantic roles & 50–950 ramp

primary
#CF4274
secondary
#98D5BF
accent
#E3AB45
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF4274

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

Preview Lab → · Contrast checker → · Palette generator →

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