#CF457C#CF457C

#CF457C is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.8% C 0.180 H 359.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CF457C
RGBrgb(207, 69, 124)
HSLhsl(336, 59%, 54%)
HSVhsv(336, 67%, 81%)
CMYKcmyk(0%, 66.7%, 40.1%, 18.8%)
CIE-LABlab(50.66, 58.67, -0.74)
CIE-LCHlch(50.66, 58.67, 359.27°)
OKLaboklab(59.82% 0.1796 -0.0012)
OKLCHoklch(59.82% 0.18 359.6)
XYZxyz(31.5005, 18.9806, 21.0697)
Luminance0.1898 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF457C #45CF98
analogous
#CF45C1 #CF457C #CF5345
triadic
#CF457C #7CCF45 #457CCF
tetradic
#CF457C #C1CF45 #45CF98 #5345CF
square
#CF457C #C1CF45 #45CF98 #5345CF
split-complementary
#CF457C #45CF53 #45C1CF
monochromatic
#7A2044 #AB2C5F #CF457C #DC769E #E8A6C1

Accessibility & contrast

On white

4.38
#CF457C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#CF457C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF457C
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF457C#FFFFFF#000000##000000
##CF457C1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#60687D
Deuteranopia (green-blind)
#858279
Tritanopia (blue-blind)
#E0355B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf457c;
/* rgb */ color: rgb(207, 69, 124);
/* oklch */ color: oklch(59.8% 0.180 359.6);
Tailwind
colors: {
  custom: {
    50: '#e281a1',
    500: '#cf457c',
    950: '#000000',
  },
}
SCSS
$custom: #cf457c;
$custom-light: #e281a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf457c",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 124
  },
  "hsl": {
    "h": 336.087,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59815,
    "c": 0.17959,
    "h": 359.6
  },
  "luminance": 0.18977
}

Semantic roles & 50–950 ramp

primary
#CF457C
secondary
#9BD5BE
accent
#E2A446
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CF457C

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

Preview Lab → · Contrast checker → · Palette generator →

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