#CF4F7D#CF4F7D

#CF4F7D is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.0% C 0.167 H 1.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CF4F7D
RGBrgb(207, 79, 125)
HSLhsl(338, 57%, 56%)
HSVhsv(338, 62%, 81%)
CMYKcmyk(0%, 61.8%, 39.6%, 18.8%)
CIE-LABlab(52.22, 54.62, 0.93)
CIE-LCHlch(52.22, 54.62, 0.98°)
OKLaboklab(60.98% 0.1668 0.0031)
OKLCHoklch(60.98% 0.167 1.1)
XYZxyz(32.2318, 20.3417, 21.6270)
Luminance0.2034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4F7D #4FCFA1
analogous
#CF4FBD #CF4F7D #CF614F
triadic
#CF4F7D #7DCF4F #4F7DCF
tetradic
#CF4F7D #BDCF4F #4FCFA1 #614FCF
square
#CF4F7D #BDCF4F #4FCFA1 #614FCF
split-complementary
#CF4F7D #4FCF61 #4FBDCF
monochromatic
#812345 #B1305E #CF4F7D #DC7FA1 #E9AFC4

Accessibility & contrast

On white

4.14
#CF4F7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CF4F7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4F7D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4F7D#FFFFFF#000000##000000
##CF4F7D1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#676D7E
Deuteranopia (green-blind)
#89867A
Tritanopia (blue-blind)
#DF4261
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf4f7d;
/* rgb */ color: rgb(207, 79, 125);
/* oklch */ color: oklch(61.0% 0.167 1.1);
Tailwind
colors: {
  custom: {
    50: '#e287a2',
    500: '#cf4f7d',
    950: '#000000',
  },
}
SCSS
$custom: #cf4f7d;
$custom-light: #e287a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4f7d",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 125
  },
  "hsl": {
    "h": 338.438,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6098,
    "c": 0.16683,
    "h": 1.1
  },
  "luminance": 0.20338
}

Semantic roles & 50–950 ramp

primary
#CF4F7D
secondary
#A2D7C4
accent
#E0A947
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CF4F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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