#CF457E#CF457E

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

Color values

HEX#CF457E
RGBrgb(207, 69, 126)
HSLhsl(335, 59%, 54%)
HSVhsv(335, 67%, 81%)
CMYKcmyk(0%, 66.7%, 39.1%, 18.8%)
CIE-LABlab(50.72, 58.88, -1.86)
CIE-LCHlch(50.72, 58.91, 358.19°)
OKLaboklab(59.88% 0.1802 -0.0041)
OKLCHoklch(59.88% 0.18 358.7)
XYZxyz(31.6282, 19.0317, 21.7425)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF457E #45CF96
analogous
#CF45C3 #CF457E #CF5145
triadic
#CF457E #7ECF45 #457ECF
tetradic
#CF457E #C3CF45 #45CF96 #5145CF
square
#CF457E #C3CF45 #45CF96 #5145CF
split-complementary
#CF457E #45CF51 #45C3CF
monochromatic
#7A2045 #AB2C60 #CF457E #DC76A0 #E8A6C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF457E#FFFFFF#000000##000000
##CF457E1.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)
#5F6880
Deuteranopia (green-blind)
#85827B
Tritanopia (blue-blind)
#DF365C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf457e;
/* rgb */ color: rgb(207, 69, 126);
/* oklch */ color: oklch(59.9% 0.180 358.7);
Tailwind
colors: {
  custom: {
    50: '#e281a3',
    500: '#cf457e',
    950: '#000000',
  },
}
SCSS
$custom: #cf457e;
$custom-light: #e281a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf457e",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 126
  },
  "hsl": {
    "h": 335.217,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59879,
    "c": 0.18029,
    "h": 358.7
  },
  "luminance": 0.19028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF457E

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

Preview Lab → · Contrast checker → · Palette generator →

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