#CF4F9C#CF4F9C

#CF4F9C is a light, vivid pink. Relative luminance 0.213; OKLCH L 62.1% C 0.181 H 346.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#CF4F9C
RGBrgb(207, 79, 156)
HSLhsl(324, 57%, 56%)
HSVhsv(324, 62%, 81%)
CMYKcmyk(0%, 61.8%, 24.6%, 18.8%)
CIE-LABlab(53.23, 58.35, -15.96)
CIE-LCHlch(53.23, 60.49, 344.70°)
OKLaboklab(62.06% 0.1761 -0.0421)
OKLCHoklch(62.06% 0.181 346.5)
XYZxyz(34.5301, 21.2610, 33.7313)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4F9C #4FCF82
analogous
#C24FCF #CF4F9C #CF4F5C
triadic
#CF4F9C #9CCF4F #4F9CCF
tetradic
#CF4F9C #CFC24F #4FCF82 #4F5CCF
square
#CF4F9C #CFC24F #4FCF82 #4F5CCF
split-complementary
#CF4F9C #5CCF4F #4FCFC2
monochromatic
#81235B #B1307D #CF4F9C #DC7FB7 #E9AFD2

Accessibility & contrast

On white

4.00
#CF4F9C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#CF4F9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4F9C
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4F9C#FFFFFF#000000##000000
##CF4F9C1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D719E
Deuteranopia (green-blind)
#818799
Tritanopia (blue-blind)
#DC4C6F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf4f9c;
/* rgb */ color: rgb(207, 79, 156);
/* oklch */ color: oklch(62.1% 0.181 346.5);
Tailwind
colors: {
  custom: {
    50: '#e187b9',
    500: '#cf4f9c',
    950: '#000000',
  },
}
SCSS
$custom: #cf4f9c;
$custom-light: #e187b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4f9c",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 156
  },
  "hsl": {
    "h": 323.906,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62062,
    "c": 0.18103,
    "h": 346.5
  },
  "luminance": 0.21258
}

Semantic roles & 50–950 ramp

primary
#CF4F9C
secondary
#A2D7B8
accent
#E08447
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CF4F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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