#CF38AC#CF38AC

#CF38AC is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.5% C 0.220 H 339.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CF38AC
RGBrgb(207, 56, 172)
HSLhsl(314, 61%, 52%)
HSVhsv(314, 73%, 81%)
CMYKcmyk(0%, 72.9%, 16.9%, 18.8%)
CIE-LABlab(50.78, 69.16, -29.15)
CIE-LCHlch(50.78, 75.06, 337.14°)
OKLaboklab(60.48% 0.2054 -0.0789)
OKLCHoklch(60.48% 0.22 339)
XYZxyz(34.5935, 19.0756, 40.8818)
Luminance0.1907 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF38AC #38CF5B
analogous
#A738CF #CF38AC #CF3861
triadic
#CF38AC #ACCF38 #38ACCF
tetradic
#CF38AC #CFA738 #38CF5B #3861CF
square
#CF38AC #CFA738 #38CF5B #3861CF
split-complementary
#CF38AC #61CF38 #38CFA7
monochromatic
#711B5D #A32786 #CF38AC #DB69C1 #E79BD5

Accessibility & contrast

On white

4.36
#CF38AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#CF38AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF38AC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF38AC#FFFFFF#000000##000000
##CF38AC1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#416AAF
Deuteranopia (green-blind)
#7281A8
Tritanopia (blue-blind)
#DB3E6E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf38ac;
/* rgb */ color: rgb(207, 56, 172);
/* oklch */ color: oklch(60.5% 0.220 339.0);
Tailwind
colors: {
  custom: {
    50: '#e27dc5',
    500: '#cf38ac',
    950: '#000000',
  },
}
SCSS
$custom: #cf38ac;
$custom-light: #e27dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf38ac",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 313.907,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60479,
    "c": 0.22005,
    "h": 339
  },
  "luminance": 0.19072
}

Semantic roles & 50–950 ramp

primary
#CF38AC
secondary
#90D3A0
accent
#E46944
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF38AC

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

Preview Lab → · Contrast checker → · Palette generator →

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