#CF308B#CF308B

#CF308B is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.4% C 0.210 H 350.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CF308B
RGBrgb(207, 48, 139)
HSLhsl(326, 62%, 50%)
HSVhsv(326, 77%, 81%)
CMYKcmyk(0%, 76.8%, 32.9%, 18.8%)
CIE-LABlab(48.57, 67.52, -12.90)
CIE-LCHlch(48.57, 68.74, 349.18°)
OKLaboklab(58.44% 0.2068 -0.0335)
OKLCHoklch(58.44% 0.21 350.8)
XYZxyz(31.4511, 17.2471, 26.0939)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF308B #30CF74
analogous
#C330CF #CF308B #CF303C
triadic
#CF308B #8BCF30 #308BCF
tetradic
#CF308B #CFC330 #30CF74 #303CCF
square
#CF308B #CFC330 #30CF74 #303CCF
split-complementary
#CF308B #3CCF30 #30CFC3
monochromatic
#6C1948 #9D246A #CF308B #DB62A7 #E693C3

Accessibility & contrast

On white

4.72
#CF308B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#CF308B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF308B
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF308B#FFFFFF#000000##FFFFFF
##CF308B1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C618D
Deuteranopia (green-blind)
#7A7E87
Tritanopia (blue-blind)
#DF235A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cf308b;
/* rgb */ color: rgb(207, 48, 139);
/* oklch */ color: oklch(58.4% 0.210 350.8);
Tailwind
colors: {
  custom: {
    50: '#e378ad',
    500: '#cf308b',
    950: '#000000',
  },
}
SCSS
$custom: #cf308b;
$custom-light: #e378ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cf308b",
  "rgb": {
    "r": 207,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 325.66,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.58438,
    "c": 0.20952,
    "h": 350.8
  },
  "luminance": 0.17243
}

Semantic roles & 50–950 ramp

primary
#CF308B
secondary
#8AD1A8
accent
#E58842
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CF308B

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

Preview Lab → · Contrast checker → · Palette generator →

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