#CF4E7E#CF4E7E

#CF4E7E is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.9% C 0.169 H 0.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CF4E7E
RGBrgb(207, 78, 126)
HSLhsl(338, 57%, 56%)
HSVhsv(338, 62%, 81%)
CMYKcmyk(0%, 62.3%, 39.1%, 18.8%)
CIE-LABlab(52.09, 55.16, 0.14)
CIE-LCHlch(52.09, 55.16, 0.15°)
OKLaboklab(60.89% 0.1685 0.001)
OKLCHoklch(60.89% 0.169 0.4)
XYZxyz(32.2244, 20.2242, 21.9413)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4E7E #4ECF9F
analogous
#CF4EBF #CF4E7E #CF5E4E
triadic
#CF4E7E #7ECF4E #4E7ECF
tetradic
#CF4E7E #BFCF4E #4ECF9F #5E4ECF
square
#CF4E7E #BFCF4E #4ECF9F #5E4ECF
split-complementary
#CF4E7E #4ECF5E #4EBFCF
monochromatic
#802345 #B0305F #CF4E7E #DC7EA1 #E9AEC4

Accessibility & contrast

On white

4.16
#CF4E7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CF4E7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4E7E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4E7E#FFFFFF#000000##000000
##CF4E7E1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#666D7F
Deuteranopia (green-blind)
#88857B
Tritanopia (blue-blind)
#DF4161
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4e7e;
/* rgb */ color: rgb(207, 78, 126);
/* oklch */ color: oklch(60.9% 0.169 0.4);
Tailwind
colors: {
  custom: {
    50: '#e286a3',
    500: '#cf4e7e',
    950: '#000000',
  },
}
SCSS
$custom: #cf4e7e;
$custom-light: #e286a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4e7e",
  "rgb": {
    "r": 207,
    "g": 78,
    "b": 126
  },
  "hsl": {
    "h": 337.674,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60891,
    "c": 0.1685,
    "h": 0.4
  },
  "luminance": 0.20221
}

Semantic roles & 50–950 ramp

primary
#CF4E7E
secondary
#A2D7C3
accent
#E1A847
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CF4E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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