#CF307D#CF307D

#CF307D is a mid, highly saturated pink. Relative luminance 0.169; OKLCH L 57.9% C 0.203 H 356.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CF307D
RGBrgb(207, 48, 125)
HSLhsl(331, 62%, 50%)
HSVhsv(331, 77%, 81%)
CMYKcmyk(0%, 76.8%, 39.6%, 18.8%)
CIE-LABlab(48.09, 66.05, -5.14)
CIE-LCHlch(48.09, 66.25, 355.55°)
OKLaboklab(57.93% 0.203 -0.0127)
OKLCHoklch(57.93% 0.203 356.4)
XYZxyz(30.4929, 16.8639, 21.0474)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF307D #30CF82
analogous
#CF30CD #CF307D #CF3230
triadic
#CF307D #7DCF30 #307DCF
tetradic
#CF307D #CDCF30 #30CF82 #3230CF
square
#CF307D #CDCF30 #30CF82 #3230CF
split-complementary
#CF307D #30CF32 #30CDCF
monochromatic
#6C1941 #9D245F #CF307D #DB629C #E693BB

Accessibility & contrast

On white

4.80
#CF307D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#CF307D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF307D
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF307D#FFFFFF#000000##FFFFFF
##CF307D1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525F7F
Deuteranopia (green-blind)
#7E7D79
Tritanopia (blue-blind)
#E01853
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cf307d;
/* rgb */ color: rgb(207, 48, 125);
/* oklch */ color: oklch(57.9% 0.203 356.4);
Tailwind
colors: {
  custom: {
    50: '#e378a2',
    500: '#cf307d',
    950: '#000000',
  },
}
SCSS
$custom: #cf307d;
$custom-light: #e378a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf307d",
  "rgb": {
    "r": 207,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 330.943,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.57929,
    "c": 0.20343,
    "h": 356.4
  },
  "luminance": 0.1686
}

Semantic roles & 50–950 ramp

primary
#CF307D
secondary
#8AD1AF
accent
#E59642
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0F
muted
#857C7E

Preview Lab

Preview with #CF307D

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

Preview Lab → · Contrast checker → · Palette generator →

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