#CF457F#CF457F

#CF457F is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.9% C 0.181 H 358.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CF457F
RGBrgb(207, 69, 127)
HSLhsl(335, 59%, 54%)
HSVhsv(335, 67%, 81%)
CMYKcmyk(0%, 66.7%, 38.6%, 18.8%)
CIE-LABlab(50.75, 58.98, -2.41)
CIE-LCHlch(50.75, 59.03, 357.66°)
OKLaboklab(59.91% 0.1806 -0.0056)
OKLCHoklch(59.91% 0.181 358.2)
XYZxyz(31.6931, 19.0577, 22.0841)
Luminance0.1905 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF457F #45CF95
analogous
#CF45C4 #CF457F #CF5045
triadic
#CF457F #7FCF45 #457FCF
tetradic
#CF457F #C4CF45 #45CF95 #5045CF
square
#CF457F #C4CF45 #45CF95 #5045CF
split-complementary
#CF457F #45CF50 #45C4CF
monochromatic
#7A2046 #AB2C61 #CF457F #DC76A0 #E8A6C2

Accessibility & contrast

On white

4.37
#CF457F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#CF457F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF457F
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF457F#FFFFFF#000000##000000
##CF457F1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6881
Deuteranopia (green-blind)
#84827C
Tritanopia (blue-blind)
#DF375D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf457f;
/* rgb */ color: rgb(207, 69, 127);
/* oklch */ color: oklch(59.9% 0.181 358.2);
Tailwind
colors: {
  custom: {
    50: '#e281a4',
    500: '#cf457f',
    950: '#000000',
  },
}
SCSS
$custom: #cf457f;
$custom-light: #e281a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf457f",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 127
  },
  "hsl": {
    "h": 334.783,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59911,
    "c": 0.18066,
    "h": 358.2
  },
  "luminance": 0.19054
}

Semantic roles & 50–950 ramp

primary
#CF457F
secondary
#9BD5BD
accent
#E2A046
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CF457F

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

Preview Lab → · Contrast checker → · Palette generator →

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