#CF307B#CF307B

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

Color values

HEX#CF307B
RGBrgb(207, 48, 123)
HSLhsl(332, 62%, 50%)
HSVhsv(332, 77%, 81%)
CMYKcmyk(0%, 76.8%, 40.6%, 18.8%)
CIE-LABlab(48.02, 65.85, -4.02)
CIE-LCHlch(48.02, 65.97, 356.51°)
OKLaboklab(57.86% 0.2024 -0.0097)
OKLCHoklch(57.86% 0.203 357.2)
XYZxyz(30.3664, 16.8133, 20.3813)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF307B #30CF84
analogous
#CF30CB #CF307B #CF3430
triadic
#CF307B #7BCF30 #307BCF
tetradic
#CF307B #CBCF30 #30CF84 #3430CF
square
#CF307B #CBCF30 #30CF84 #3430CF
split-complementary
#CF307B #30CF34 #30CBCF
monochromatic
#6C1940 #9D245D #CF307B #DB629B #E693BA

Accessibility & contrast

On white

4.81
#CF307B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#CF307B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF307B
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF307B#FFFFFF#000000##FFFFFF
##CF307B1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535F7D
Deuteranopia (green-blind)
#7E7D77
Tritanopia (blue-blind)
#E01652
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cf307b;
/* rgb */ color: rgb(207, 48, 123);
/* oklch */ color: oklch(57.9% 0.203 357.2);
Tailwind
colors: {
  custom: {
    50: '#e378a1',
    500: '#cf307b',
    950: '#000000',
  },
}
SCSS
$custom: #cf307b;
$custom-light: #e378a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf307b",
  "rgb": {
    "r": 207,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 331.698,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.57861,
    "c": 0.20266,
    "h": 357.2
  },
  "luminance": 0.16809
}

Semantic roles & 50–950 ramp

primary
#CF307B
secondary
#8AD1AF
accent
#E59942
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #CF307B

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

Preview Lab → · Contrast checker → · Palette generator →

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