#CF38AB#CF38AB

#CF38AB is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.4% C 0.219 H 339.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CF38AB
RGBrgb(207, 56, 171)
HSLhsl(314, 61%, 52%)
HSVhsv(314, 73%, 81%)
CMYKcmyk(0%, 72.9%, 17.4%, 18.8%)
CIE-LABlab(50.73, 69.03, -28.64)
CIE-LCHlch(50.73, 74.73, 337.47°)
OKLaboklab(60.43% 0.2053 -0.0774)
OKLCHoklch(60.43% 0.219 339.3)
XYZxyz(34.4979, 19.0374, 40.3779)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF38AB #38CF5C
analogous
#A838CF #CF38AB #CF3860
triadic
#CF38AB #ABCF38 #38ABCF
tetradic
#CF38AB #CFA838 #38CF5C #3860CF
square
#CF38AB #CFA838 #38CF5C #3860CF
split-complementary
#CF38AB #60CF38 #38CFA8
monochromatic
#711B5D #A32785 #CF38AB #DB69C0 #E79BD5

Accessibility & contrast

On white

4.37
#CF38AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF38AB#FFFFFF#000000##000000
##CF38AB1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#416AAE
Deuteranopia (green-blind)
#7381A7
Tritanopia (blue-blind)
#DB3E6D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf38ab;
/* rgb */ color: rgb(207, 56, 171);
/* oklch */ color: oklch(60.4% 0.219 339.3);
Tailwind
colors: {
  custom: {
    50: '#e27dc4',
    500: '#cf38ab',
    950: '#000000',
  },
}
SCSS
$custom: #cf38ab;
$custom-light: #e27dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf38ab",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 314.305,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60432,
    "c": 0.2194,
    "h": 339.3
  },
  "luminance": 0.19034
}

Semantic roles & 50–950 ramp

primary
#CF38AB
secondary
#90D3A0
accent
#E46A44
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF38AB

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

Preview Lab → · Contrast checker → · Palette generator →

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