#CF4A7D#CF4A7D

#CF4A7D is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.4% C 0.173 H 0.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CF4A7D
RGBrgb(207, 74, 125)
HSLhsl(337, 58%, 55%)
HSVhsv(337, 64%, 81%)
CMYKcmyk(0%, 64.3%, 39.6%, 18.8%)
CIE-LABlab(51.44, 56.74, -0.21)
CIE-LCHlch(51.44, 56.74, 359.78°)
OKLaboklab(60.4% 0.1735 0.0001)
OKLCHoklch(60.4% 0.174 0)
XYZxyz(31.8847, 19.6473, 21.5113)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4A7D #4ACF9C
analogous
#CF4AC0 #CF4A7D #CF594A
triadic
#CF4A7D #7DCF4A #4A7DCF
tetradic
#CF4A7D #C0CF4A #4ACF9C #594ACF
square
#CF4A7D #C0CF4A #4ACF9C #594ACF
split-complementary
#CF4A7D #4ACF59 #4AC0CF
monochromatic
#7D2145 #AE2E5F #CF4A7D #DC7AA0 #E9ABC2

Accessibility & contrast

On white

4.26
#CF4A7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CF4A7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4A7D
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4A7D#FFFFFF#000000##000000
##CF4A7D1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#636B7E
Deuteranopia (green-blind)
#87847A
Tritanopia (blue-blind)
#DF3C5E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf4a7d;
/* rgb */ color: rgb(207, 74, 125);
/* oklch */ color: oklch(60.4% 0.173 0.0);
Tailwind
colors: {
  custom: {
    50: '#e284a2',
    500: '#cf4a7d',
    950: '#000000',
  },
}
SCSS
$custom: #cf4a7d;
$custom-light: #e284a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4a7d",
  "rgb": {
    "r": 207,
    "g": 74,
    "b": 125
  },
  "hsl": {
    "h": 336.992,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60396,
    "c": 0.1735,
    "h": 0
  },
  "luminance": 0.19644
}

Semantic roles & 50–950 ramp

primary
#CF4A7D
secondary
#9FD6C1
accent
#E1A646
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CF4A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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