#CF30B1#CF30B1

#CF30B1 is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 60.1% C 0.231 H 337.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CF30B1
RGBrgb(207, 48, 177)
HSLhsl(311, 62%, 50%)
HSVhsv(311, 77%, 81%)
CMYKcmyk(0%, 76.8%, 14.5%, 18.8%)
CIE-LABlab(50.16, 72.25, -33.04)
CIE-LCHlch(50.16, 79.45, 335.42°)
OKLaboklab(60.11% 0.2132 -0.0899)
OKLCHoklch(60.11% 0.231 337.1)
XYZxyz(34.7256, 18.5569, 43.3395)
Luminance0.1855 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF30B1 #30CF4E
analogous
#9E30CF #CF30B1 #CF3061
triadic
#CF30B1 #B1CF30 #30B1CF
tetradic
#CF30B1 #CF9E30 #30CF4E #3061CF
square
#CF30B1 #CF9E30 #30CF4E #3061CF
split-complementary
#CF30B1 #61CF30 #30CF9E
monochromatic
#6C195C #9D2487 #CF30B1 #DB62C4 #E693D6

Accessibility & contrast

On white

4.46
#CF30B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#CF30B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF30B1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF30B1#FFFFFF#000000##000000
##CF30B11.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3568B4
Deuteranopia (green-blind)
#6D80AD
Tritanopia (blue-blind)
#DA3B6E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf30b1;
/* rgb */ color: rgb(207, 48, 177);
/* oklch */ color: oklch(60.1% 0.231 337.1);
Tailwind
colors: {
  custom: {
    50: '#e27ac8',
    500: '#cf30b1',
    950: '#000000',
  },
}
SCSS
$custom: #cf30b1;
$custom-light: #e27ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf30b1",
  "rgb": {
    "r": 207,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 311.321,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.60113,
    "c": 0.23137,
    "h": 337.1
  },
  "luminance": 0.18554
}

Semantic roles & 50–950 ramp

primary
#CF30B1
secondary
#8AD197
accent
#E56142
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CF30B1

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

Preview Lab → · Contrast checker → · Palette generator →

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