#CF4276#CF4276

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

Color values

HEX#CF4276
RGBrgb(207, 66, 118)
HSLhsl(338, 59%, 54%)
HSVhsv(338, 68%, 81%)
CMYKcmyk(0%, 68.1%, 43%, 18.8%)
CIE-LABlab(50.07, 59.23, 2.00)
CIE-LCHlch(50.07, 59.27, 1.94°)
OKLaboklab(59.32% 0.1813 0.0059)
OKLCHoklch(59.32% 0.181 1.8)
XYZxyz(30.9526, 18.4737, 19.0718)
Luminance0.1847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4276 #42CF9B
analogous
#CF42BD #CF4276 #CF5442
triadic
#CF4276 #76CF42 #4276CF
tetradic
#CF4276 #BDCF42 #42CF9B #5442CF
square
#CF4276 #BDCF42 #42CF9B #5442CF
split-complementary
#CF4276 #42CF54 #42BDCF
monochromatic
#781F40 #A92B59 #CF4276 #DB7399 #E8A4BD

Accessibility & contrast

On white

4.47
#CF4276 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#CF4276 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4276
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4276#FFFFFF#000000##000000
##CF42761.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6677
Deuteranopia (green-blind)
#858173
Tritanopia (blue-blind)
#E02F57
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf4276;
/* rgb */ color: rgb(207, 66, 118);
/* oklch */ color: oklch(59.3% 0.181 1.8);
Tailwind
colors: {
  custom: {
    50: '#e3809d',
    500: '#cf4276',
    950: '#000000',
  },
}
SCSS
$custom: #cf4276;
$custom-light: #e3809d;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4276",
  "rgb": {
    "r": 207,
    "g": 66,
    "b": 118
  },
  "hsl": {
    "h": 337.872,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59315,
    "c": 0.18137,
    "h": 1.8
  },
  "luminance": 0.1847
}

Semantic roles & 50–950 ramp

primary
#CF4276
secondary
#98D5BE
accent
#E3A945
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF4276

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

Preview Lab → · Contrast checker → · Palette generator →

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