#CF4E7B#CF4E7B

#CF4E7B is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.8% C 0.168 H 1.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CF4E7B
RGBrgb(207, 78, 123)
HSLhsl(339, 57%, 56%)
HSVhsv(339, 62%, 81%)
CMYKcmyk(0%, 62.3%, 40.6%, 18.8%)
CIE-LABlab(52.00, 54.84, 1.81)
CIE-LCHlch(52.00, 54.87, 1.89°)
OKLaboklab(60.8% 0.1675 0.0053)
OKLCHoklch(60.8% 0.168 1.8)
XYZxyz(32.0338, 20.1479, 20.9370)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4E7B #4ECFA2
analogous
#CF4EBB #CF4E7B #CF614E
triadic
#CF4E7B #7BCF4E #4E7BCF
tetradic
#CF4E7B #BBCF4E #4ECFA2 #614ECF
square
#CF4E7B #BBCF4E #4ECFA2 #614ECF
split-complementary
#CF4E7B #4ECF61 #4EBBCF
monochromatic
#802343 #B0305D #CF4E7B #DC7E9F #E9AEC3

Accessibility & contrast

On white

4.18
#CF4E7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CF4E7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4E7B
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4E7B#FFFFFF#000000##000000
##CF4E7B1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#676C7C
Deuteranopia (green-blind)
#898578
Tritanopia (blue-blind)
#E04060
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4e7b;
/* rgb */ color: rgb(207, 78, 123);
/* oklch */ color: oklch(60.8% 0.168 1.8);
Tailwind
colors: {
  custom: {
    50: '#e286a1',
    500: '#cf4e7b',
    950: '#000000',
  },
}
SCSS
$custom: #cf4e7b;
$custom-light: #e286a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4e7b",
  "rgb": {
    "r": 207,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 339.07,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60799,
    "c": 0.16756,
    "h": 1.8
  },
  "luminance": 0.20144
}

Semantic roles & 50–950 ramp

primary
#CF4E7B
secondary
#A2D7C4
accent
#E1AB47
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CF4E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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