#CF4172#CF4172

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

Color values

HEX#CF4172
RGBrgb(207, 65, 114)
HSLhsl(339, 60%, 53%)
HSVhsv(339, 69%, 81%)
CMYKcmyk(0%, 68.6%, 44.9%, 18.8%)
CIE-LABlab(49.82, 59.23, 4.06)
CIE-LCHlch(49.82, 59.37, 3.92°)
OKLaboklab(59.09% 0.1811 0.0111)
OKLCHoklch(59.09% 0.181 3.5)
XYZxyz(30.6620, 18.2648, 17.8271)
Luminance0.1826 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4172 #41CF9E
analogous
#CF41B9 #CF4172 #CF5741
triadic
#CF4172 #72CF41 #4172CF
tetradic
#CF4172 #B9CF41 #41CF9E #5741CF
square
#CF4172 #B9CF41 #41CF9E #5741CF
split-complementary
#CF4172 #41CF57 #41B9CF
monochromatic
#771E3D #A82B56 #CF4172 #DB7296 #E8A3BB

Accessibility & contrast

On white

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

On black

4.65
#CF4172 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4172
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4172#FFFFFF#000000##000000
##CF41721.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#606573
Deuteranopia (green-blind)
#85816F
Tritanopia (blue-blind)
#E12C55
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cf4172;
/* rgb */ color: rgb(207, 65, 114);
/* oklch */ color: oklch(59.1% 0.181 3.5);
Tailwind
colors: {
  custom: {
    50: '#e37f9a',
    500: '#cf4172',
    950: '#000000',
  },
}
SCSS
$custom: #cf4172;
$custom-light: #e37f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4172",
  "rgb": {
    "r": 207,
    "g": 65,
    "b": 114
  },
  "hsl": {
    "h": 339.296,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59093,
    "c": 0.18144,
    "h": 3.5
  },
  "luminance": 0.18261
}

Semantic roles & 50–950 ramp

primary
#CF4172
secondary
#97D4BF
accent
#E3AC45
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF4172

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

Preview Lab → · Contrast checker → · Palette generator →

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