#CF458A#CF458A

#CF458A is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.3% C 0.185 H 353.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CF458A
RGBrgb(207, 69, 138)
HSLhsl(330, 59%, 54%)
HSVhsv(330, 67%, 81%)
CMYKcmyk(0%, 66.7%, 33.3%, 18.8%)
CIE-LABlab(51.11, 60.21, -8.49)
CIE-LCHlch(51.11, 60.80, 351.98°)
OKLaboklab(60.29% 0.1839 -0.0217)
OKLCHoklch(60.29% 0.185 353.3)
XYZxyz(32.4495, 19.3602, 26.0679)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF458A #45CF8A
analogous
#CF45CF #CF458A #CF4545
triadic
#CF458A #8ACF45 #458ACF
tetradic
#CF458A #CFCF45 #45CF8A #4545CF
square
#CF458A #CFCF45 #45CF8A #4545CF
split-complementary
#CF458A #45CF45 #45CFCF
monochromatic
#7A204D #AB2C6B #CF458A #DC76A9 #E8A6C7

Accessibility & contrast

On white

4.31
#CF458A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CF458A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF458A
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF458A#FFFFFF#000000##000000
##CF458A1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6A8C
Deuteranopia (green-blind)
#828387
Tritanopia (blue-blind)
#DE3B62
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf458a;
/* rgb */ color: rgb(207, 69, 138);
/* oklch */ color: oklch(60.3% 0.185 353.3);
Tailwind
colors: {
  custom: {
    50: '#e282ac',
    500: '#cf458a',
    950: '#000000',
  },
}
SCSS
$custom: #cf458a;
$custom-light: #e282ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf458a",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 138
  },
  "hsl": {
    "h": 330,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60286,
    "c": 0.18521,
    "h": 353.3
  },
  "luminance": 0.19357
}

Semantic roles & 50–950 ramp

primary
#CF458A
secondary
#9BD5B8
accent
#E29446
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CF458A

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

Preview Lab → · Contrast checker → · Palette generator →

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