#CF4A7C#CF4A7C

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

Color values

HEX#CF4A7C
RGBrgb(207, 74, 124)
HSLhsl(337, 58%, 55%)
HSVhsv(337, 64%, 81%)
CMYKcmyk(0%, 64.3%, 40.1%, 18.8%)
CIE-LABlab(51.41, 56.64, 0.34)
CIE-LCHlch(51.41, 56.64, 0.35°)
OKLaboklab(60.37% 0.1732 0.0016)
OKLCHoklch(60.37% 0.173 0.5)
XYZxyz(31.8211, 19.6219, 21.1765)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4A7C #4ACF9D
analogous
#CF4ABE #CF4A7C #CF5B4A
triadic
#CF4A7C #7CCF4A #4A7CCF
tetradic
#CF4A7C #BECF4A #4ACF9D #5B4ACF
square
#CF4A7C #BECF4A #4ACF9D #5B4ACF
split-complementary
#CF4A7C #4ACF5B #4ABECF
monochromatic
#7D2144 #AE2E5E #CF4A7C #DC7A9F #E9ABC2

Accessibility & contrast

On white

4.27
#CF4A7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CF4A7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4A7C
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4A7C#FFFFFF#000000##000000
##CF4A7C1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#636A7D
Deuteranopia (green-blind)
#878479
Tritanopia (blue-blind)
#E03C5E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf4a7c;
/* rgb */ color: rgb(207, 74, 124);
/* oklch */ color: oklch(60.4% 0.173 0.5);
Tailwind
colors: {
  custom: {
    50: '#e284a1',
    500: '#cf4a7c',
    950: '#000000',
  },
}
SCSS
$custom: #cf4a7c;
$custom-light: #e284a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4a7c",
  "rgb": {
    "r": 207,
    "g": 74,
    "b": 124
  },
  "hsl": {
    "h": 337.444,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60365,
    "c": 0.17318,
    "h": 0.5
  },
  "luminance": 0.19618
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF4A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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