#CF4F7C#CF4F7C

#CF4F7C is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.9% C 0.167 H 1.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CF4F7C
RGBrgb(207, 79, 124)
HSLhsl(339, 57%, 56%)
HSVhsv(339, 62%, 81%)
CMYKcmyk(0%, 61.8%, 40.1%, 18.8%)
CIE-LABlab(52.19, 54.51, 1.49)
CIE-LCHlch(52.19, 54.53, 1.56°)
OKLaboklab(60.95% 0.1664 0.0045)
OKLCHoklch(60.95% 0.167 1.6)
XYZxyz(32.1683, 20.3163, 21.2923)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4F7C #4FCFA2
analogous
#CF4FBC #CF4F7C #CF624F
triadic
#CF4F7C #7CCF4F #4F7CCF
tetradic
#CF4F7C #BCCF4F #4FCFA2 #624FCF
square
#CF4F7C #BCCF4F #4FCFA2 #624FCF
split-complementary
#CF4F7C #4FCF62 #4FBCCF
monochromatic
#812344 #B1305D #CF4F7C #DC7FA0 #E9AFC4

Accessibility & contrast

On white

4.15
#CF4F7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CF4F7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4F7C
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4F7C#FFFFFF#000000##000000
##CF4F7C1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#676D7D
Deuteranopia (green-blind)
#898679
Tritanopia (blue-blind)
#DF4161
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4f7c;
/* rgb */ color: rgb(207, 79, 124);
/* oklch */ color: oklch(60.9% 0.167 1.6);
Tailwind
colors: {
  custom: {
    50: '#e287a1',
    500: '#cf4f7c',
    950: '#000000',
  },
}
SCSS
$custom: #cf4f7c;
$custom-light: #e287a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4f7c",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 124
  },
  "hsl": {
    "h": 338.906,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60949,
    "c": 0.16651,
    "h": 1.6
  },
  "luminance": 0.20313
}

Semantic roles & 50–950 ramp

primary
#CF4F7C
secondary
#A2D7C5
accent
#E0AB47
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CF4F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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