#CF4F7B#CF4F7B

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

Color values

HEX#CF4F7B
RGBrgb(207, 79, 123)
HSLhsl(339, 57%, 56%)
HSVhsv(339, 62%, 81%)
CMYKcmyk(0%, 61.8%, 40.6%, 18.8%)
CIE-LABlab(52.16, 54.40, 2.04)
CIE-LCHlch(52.16, 54.44, 2.15°)
OKLaboklab(60.92% 0.1661 0.0059)
OKLCHoklch(60.92% 0.166 2)
XYZxyz(32.1054, 20.2911, 20.9609)
Luminance0.2029 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4F7B #4FCFA3
analogous
#CF4FBB #CF4F7B #CF634F
triadic
#CF4F7B #7BCF4F #4F7BCF
tetradic
#CF4F7B #BBCF4F #4FCFA3 #634FCF
square
#CF4F7B #BBCF4F #4FCFA3 #634FCF
split-complementary
#CF4F7B #4FCF63 #4FBBCF
monochromatic
#812343 #B1305C #CF4F7B #DC7F9F #E9AFC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF4F7B#FFFFFF#000000##000000
##CF4F7B1.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)
#676D7C
Deuteranopia (green-blind)
#898678
Tritanopia (blue-blind)
#E04160
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4f7b;
/* rgb */ color: rgb(207, 79, 123);
/* oklch */ color: oklch(60.9% 0.166 2.0);
Tailwind
colors: {
  custom: {
    50: '#e287a1',
    500: '#cf4f7b',
    950: '#000000',
  },
}
SCSS
$custom: #cf4f7b;
$custom-light: #e287a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4f7b",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 123
  },
  "hsl": {
    "h": 339.375,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60919,
    "c": 0.16622,
    "h": 2
  },
  "luminance": 0.20287
}

Semantic roles & 50–950 ramp

primary
#CF4F7B
secondary
#A2D7C5
accent
#E0AC47
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CF4F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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