#CF307E#CF307E

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

Color values

HEX#CF307E
RGBrgb(207, 48, 126)
HSLhsl(331, 62%, 50%)
HSVhsv(331, 77%, 81%)
CMYKcmyk(0%, 76.8%, 39.1%, 18.8%)
CIE-LABlab(48.12, 66.15, -5.70)
CIE-LCHlch(48.12, 66.39, 355.07°)
OKLaboklab(57.96% 0.2033 -0.0142)
OKLCHoklch(57.96% 0.204 356)
XYZxyz(30.5571, 16.8895, 21.3855)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF307E #30CF81
analogous
#CF30CE #CF307E #CF3130
triadic
#CF307E #7ECF30 #307ECF
tetradic
#CF307E #CECF30 #30CF81 #3130CF
square
#CF307E #CECF30 #30CF81 #3130CF
split-complementary
#CF307E #30CF31 #30CECF
monochromatic
#6C1942 #9D2460 #CF307E #DB629D #E693BC

Accessibility & contrast

On white

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

On black

4.38
#CF307E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CF307E#FFFFFF#000000##FFFFFF
##CF307E1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf307e;
/* rgb */ color: rgb(207, 48, 126);
/* oklch */ color: oklch(58.0% 0.204 356.0);
Tailwind
colors: {
  custom: {
    50: '#e378a3',
    500: '#cf307e',
    950: '#000000',
  },
}
SCSS
$custom: #cf307e;
$custom-light: #e378a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf307e",
  "rgb": {
    "r": 207,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 330.566,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.57963,
    "c": 0.20381,
    "h": 356
  },
  "luminance": 0.16886
}

Semantic roles & 50–950 ramp

primary
#CF307E
secondary
#8AD1AE
accent
#E59542
background
#FEF7FA
surface
#FDEEF3
border
#D5C9CD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CF307E

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

Preview Lab → · Contrast checker → · Palette generator →

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