#CF38B0#CF38B0

#CF38B0 is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.7% C 0.223 H 337.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CF38B0
RGBrgb(207, 56, 176)
HSLhsl(312, 61%, 52%)
HSVhsv(312, 73%, 81%)
CMYKcmyk(0%, 72.9%, 15%, 18.8%)
CIE-LABlab(50.96, 69.72, -31.22)
CIE-LCHlch(50.96, 76.39, 335.88°)
OKLaboklab(60.67% 0.2059 -0.0848)
OKLCHoklch(60.67% 0.223 337.6)
XYZxyz(34.9835, 19.2316, 42.9355)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF38B0 #38CF57
analogous
#A338CF #CF38B0 #CF3865
triadic
#CF38B0 #B0CF38 #38B0CF
tetradic
#CF38B0 #CFA338 #38CF57 #3865CF
square
#CF38B0 #CFA338 #38CF57 #3865CF
split-complementary
#CF38B0 #65CF38 #38CFA3
monochromatic
#711B60 #A32789 #CF38B0 #DB69C4 #E79BD7

Accessibility & contrast

On white

4.33
#CF38B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CF38B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF38B0
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF38B0#FFFFFF#000000##000000
##CF38B01.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB3
Deuteranopia (green-blind)
#7182AC
Tritanopia (blue-blind)
#DA4070
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf38b0;
/* rgb */ color: rgb(207, 56, 176);
/* oklch */ color: oklch(60.7% 0.223 337.6);
Tailwind
colors: {
  custom: {
    50: '#e27dc8',
    500: '#cf38b0',
    950: '#000000',
  },
}
SCSS
$custom: #cf38b0;
$custom-light: #e27dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf38b0",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 176
  },
  "hsl": {
    "h": 312.318,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60669,
    "c": 0.22268,
    "h": 337.6
  },
  "luminance": 0.19228
}

Semantic roles & 50–950 ramp

primary
#CF38B0
secondary
#90D39E
accent
#E46544
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF38B0

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

Preview Lab → · Contrast checker → · Palette generator →

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