#CF4F9E#CF4F9E

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

Color values

HEX#CF4F9E
RGBrgb(207, 79, 158)
HSLhsl(323, 57%, 56%)
HSVhsv(323, 62%, 81%)
CMYKcmyk(0%, 61.8%, 23.7%, 18.8%)
CIE-LABlab(53.31, 58.62, -17.02)
CIE-LCHlch(53.31, 61.04, 343.81°)
OKLaboklab(62.14% 0.1766 -0.0451)
OKLCHoklch(62.14% 0.182 345.7)
XYZxyz(34.7009, 21.3293, 34.6306)
Luminance0.2133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4F9E #4FCF80
analogous
#C04FCF #CF4F9E #CF4F5E
triadic
#CF4F9E #9ECF4F #4F9ECF
tetradic
#CF4F9E #CFC04F #4FCF80 #4F5ECF
square
#CF4F9E #CFC04F #4FCF80 #4F5ECF
split-complementary
#CF4F9E #5ECF4F #4FCFC0
monochromatic
#81235D #B1307F #CF4F9E #DC7FB9 #E9AFD3

Accessibility & contrast

On white

3.99
#CF4F9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#CF4F9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4F9E
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4F9E#FFFFFF#000000##000000
##CF4F9E1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C72A0
Deuteranopia (green-blind)
#81879B
Tritanopia (blue-blind)
#DC4D70
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf4f9e;
/* rgb */ color: rgb(207, 79, 158);
/* oklch */ color: oklch(62.1% 0.182 345.7);
Tailwind
colors: {
  custom: {
    50: '#e187ba',
    500: '#cf4f9e',
    950: '#000000',
  },
}
SCSS
$custom: #cf4f9e;
$custom-light: #e187ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4f9e",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 158
  },
  "hsl": {
    "h": 322.969,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62141,
    "c": 0.18221,
    "h": 345.7
  },
  "luminance": 0.21326
}

Semantic roles & 50–950 ramp

primary
#CF4F9E
secondary
#A2D7B7
accent
#E08247
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CF4F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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