#CF4297#CF4297

#CF4297 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.5% C 0.196 H 347.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CF4297
RGBrgb(207, 66, 151)
HSLhsl(324, 59%, 54%)
HSVhsv(324, 68%, 81%)
CMYKcmyk(0%, 68.1%, 27.1%, 18.8%)
CIE-LABlab(51.15, 62.92, -16.17)
CIE-LCHlch(51.15, 64.97, 345.59°)
OKLaboklab(60.47% 0.1909 -0.0426)
OKLCHoklch(60.47% 0.196 347.4)
XYZxyz(33.2677, 19.3997, 31.2647)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4297 #42CF7A
analogous
#C142CF #CF4297 #CF4250
triadic
#CF4297 #97CF42 #4297CF
tetradic
#CF4297 #CFC142 #42CF7A #4250CF
square
#CF4297 #CFC142 #42CF7A #4250CF
split-complementary
#CF4297 #50CF42 #42CFC1
monochromatic
#781F55 #A92B77 #CF4297 #DB73B2 #E8A4CD

Accessibility & contrast

On white

4.30
#CF4297 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CF4297 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4297
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4297#FFFFFF#000000##000000
##CF42971.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#546A99
Deuteranopia (green-blind)
#7D8394
Tritanopia (blue-blind)
#DD3E67
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf4297;
/* rgb */ color: rgb(207, 66, 151);
/* oklch */ color: oklch(60.5% 0.196 347.4);
Tailwind
colors: {
  custom: {
    50: '#e281b5',
    500: '#cf4297',
    950: '#000000',
  },
}
SCSS
$custom: #cf4297;
$custom-light: #e281b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4297",
  "rgb": {
    "r": 207,
    "g": 66,
    "b": 151
  },
  "hsl": {
    "h": 323.83,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6047,
    "c": 0.19562,
    "h": 347.4
  },
  "luminance": 0.19396
}

Semantic roles & 50–950 ramp

primary
#CF4297
secondary
#98D5B0
accent
#E38445
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CF4297

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

Preview Lab → · Contrast checker → · Palette generator →

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