#CF4A7B#CF4A7B

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

Color values

HEX#CF4A7B
RGBrgb(207, 74, 123)
HSLhsl(338, 58%, 55%)
HSVhsv(338, 64%, 81%)
CMYKcmyk(0%, 64.3%, 40.6%, 18.8%)
CIE-LABlab(51.38, 56.53, 0.90)
CIE-LCHlch(51.38, 56.54, 0.91°)
OKLaboklab(60.33% 0.1728 0.003)
OKLCHoklch(60.33% 0.173 1)
XYZxyz(31.7582, 19.5967, 20.8452)
Luminance0.1959 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4A7B #4ACF9E
analogous
#CF4ABD #CF4A7B #CF5C4A
triadic
#CF4A7B #7BCF4A #4A7BCF
tetradic
#CF4A7B #BDCF4A #4ACF9E #5C4ACF
square
#CF4A7B #BDCF4A #4ACF9E #5C4ACF
split-complementary
#CF4A7B #4ACF5C #4ABDCF
monochromatic
#7D2143 #AE2E5D #CF4A7B #DC7A9E #E9ABC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF4A7B#FFFFFF#000000##000000
##CF4A7B1.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)
#646A7C
Deuteranopia (green-blind)
#878478
Tritanopia (blue-blind)
#E03B5D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf4a7b;
/* rgb */ color: rgb(207, 74, 123);
/* oklch */ color: oklch(60.3% 0.173 1.0);
Tailwind
colors: {
  custom: {
    50: '#e284a1',
    500: '#cf4a7b',
    950: '#000000',
  },
}
SCSS
$custom: #cf4a7b;
$custom-light: #e284a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4a7b",
  "rgb": {
    "r": 207,
    "g": 74,
    "b": 123
  },
  "hsl": {
    "h": 337.895,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60334,
    "c": 0.17286,
    "h": 1
  },
  "luminance": 0.19593
}

Semantic roles & 50–950 ramp

primary
#CF4A7B
secondary
#9FD6C2
accent
#E1A846
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF4A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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