#CF4781#CF4781

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

Color values

HEX#CF4781
RGBrgb(207, 71, 129)
HSLhsl(334, 59%, 55%)
HSVhsv(334, 66%, 81%)
CMYKcmyk(0%, 65.7%, 37.7%, 18.8%)
CIE-LABlab(51.11, 58.40, -3.10)
CIE-LCHlch(51.11, 58.48, 356.96°)
OKLaboklab(60.19% 0.1787 -0.0074)
OKLCHoklch(60.19% 0.179 357.6)
XYZxyz(31.9498, 19.3606, 22.8191)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4781 #47CF95
analogous
#CF47C5 #CF4781 #CF5147
triadic
#CF4781 #81CF47 #4781CF
tetradic
#CF4781 #C5CF47 #47CF95 #5147CF
square
#CF4781 #C5CF47 #47CF95 #5147CF
split-complementary
#CF4781 #47CF51 #47C5CF
monochromatic
#7B2047 #AC2D63 #CF4781 #DC78A2 #E8A8C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF4781#FFFFFF#000000##000000
##CF47811.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)
#606A83
Deuteranopia (green-blind)
#85837E
Tritanopia (blue-blind)
#DF3A5F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf4781;
/* rgb */ color: rgb(207, 71, 129);
/* oklch */ color: oklch(60.2% 0.179 357.6);
Tailwind
colors: {
  custom: {
    50: '#e283a5',
    500: '#cf4781',
    950: '#000000',
  },
}
SCSS
$custom: #cf4781;
$custom-light: #e283a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4781",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 129
  },
  "hsl": {
    "h": 334.412,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60191,
    "c": 0.17884,
    "h": 357.6
  },
  "luminance": 0.19357
}

Semantic roles & 50–950 ramp

primary
#CF4781
secondary
#9CD6BD
accent
#E29F46
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CF4781

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

Preview Lab → · Contrast checker → · Palette generator →

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